oops my brain still has d.js in it
This commit is contained in:
parent
daa3b686e4
commit
34757206bc
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class MessageHandler {
|
||||||
|
|
||||||
// Return if the command is restricted to developers (and the user is not a developer)
|
// Return if the command is restricted to developers (and the user is not a developer)
|
||||||
if (command.devOnly === true && this.client.helpers.isDeveloper(message.author.id) !== true) {
|
if (command.devOnly === true && this.client.helpers.isDeveloper(message.author.id) !== true) {
|
||||||
return message.channel.send(
|
return message.channel.createMessage(
|
||||||
this.client.constants.emojis.permError + ' This command\'s usage is restricted to developers only. Sorry!'
|
this.client.constants.emojis.permError + ' This command\'s usage is restricted to developers only. Sorry!'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue