Added some stuff, changed how usererrs are called
This commit is contained in:
parent
9fd2c873ca
commit
b36a746bb4
8 changed files with 149 additions and 21 deletions
|
@ -20,7 +20,7 @@ const Discord = require('discord.js')
|
|||
exports.run = (client, message, args) => {
|
||||
const flag = args[0]
|
||||
if (!flag) {
|
||||
return message.channel.send(client.userError(exports, 'Missing argument, the `flag` argument is required!'))
|
||||
return client.userError(message, exports, 'Missing argument, the `flag` argument is required!')
|
||||
}
|
||||
|
||||
const available = ['lesbian', 'gay', 'bisexual', 'pansexual', 'trans', 'asexual', 'aromantic', 'ally']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue