Added some stuff, changed how usererrs are called

This commit is contained in:
Emily 2020-04-13 19:29:47 +10:00
parent 9fd2c873ca
commit b36a746bb4
8 changed files with 149 additions and 21 deletions

View file

@ -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']