update imports
This commit is contained in:
parent
cfd675d29b
commit
f005efc454
3 changed files with 4 additions and 5 deletions
|
@ -23,7 +23,7 @@ module.exports = class {
|
|||
const cmd = this.client.commands.get(command) || this.client.commands.get(this.client.aliases.get(command));
|
||||
if (!cmd) return;
|
||||
|
||||
if (cmd && cmd.conf.devOnly && this.client.util.isDeveloper(message.author.id) !== true) {
|
||||
if (cmd && cmd.conf.devOnly && this.client.functions.isDeveloper(message.author.id) !== true) {
|
||||
return message.channel.send("devs only!");
|
||||
}
|
||||
if (cmd && !message.guild && cmd.conf.guildOnly) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue