update aliases

Signed-off-by: loicbersier <loic.bersier1@gmail.com>
This commit is contained in:
loicbersier 2020-10-14 20:23:27 +02:00
parent a201b05def
commit e7e244753f

View file

@ -1,10 +1,10 @@
const { Command } = require('discord-akairo'); const { Command } = require('discord-akairo');
const userBlacklist = require('../../models').userBlacklist; const userBlacklist = require('../../models').userBlacklist;
class blacklistCommand extends Command { class userBlacklistCommand extends Command {
constructor() { constructor() {
super('blacklist', { super('userBlacklist', {
aliases: ['blacklist'], aliases: ['userblacklist'],
category: 'owner', category: 'owner',
ownerOnly: 'true', ownerOnly: 'true',
userPermissions: ['MANAGE_MESSAGES'], userPermissions: ['MANAGE_MESSAGES'],
@ -54,4 +54,4 @@ class blacklistCommand extends Command {
} }
} }
module.exports = blacklistCommand; module.exports = userBlacklistCommand;