oops my brain still has d.js in it

This commit is contained in:
Emily 2020-10-24 15:02:47 +11:00
parent daa3b686e4
commit 34757206bc

View file

@ -82,7 +82,7 @@ class MessageHandler {
// 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) {
return message.channel.send(
return message.channel.createMessage(
this.client.constants.emojis.permError + ' This command\'s usage is restricted to developers only. Sorry!'
);
}