update imports

This commit is contained in:
Emily 2020-10-08 13:05:14 +11:00
parent cfd675d29b
commit f005efc454
3 changed files with 4 additions and 5 deletions

View file

@ -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) {