diff options
| author | Alee <alee14498@gmail.com> | 2018-02-24 10:32:29 -0500 |
|---|---|---|
| committer | Alee <alee14498@gmail.com> | 2018-02-24 10:32:29 -0500 |
| commit | 3917b4df3d5671159eafda710834bc40e8ba7c75 (patch) | |
| tree | 1b2a06d69321d57e09249f66bf25b6ffbf54719d /commands/say.js | |
| parent | 6f1a9bab9ea95aac8507c483937e30969e1ed684 (diff) | |
| download | PokeBot-3917b4df3d5671159eafda710834bc40e8ba7c75.tar.gz PokeBot-3917b4df3d5671159eafda710834bc40e8ba7c75.tar.bz2 PokeBot-3917b4df3d5671159eafda710834bc40e8ba7c75.zip | |
Once again i'm a donkey..
Diffstat (limited to 'commands/say.js')
| -rw-r--r-- | commands/say.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/say.js b/commands/say.js index 83bd701..41e89a6 100644 --- a/commands/say.js +++ b/commands/say.js @@ -3,8 +3,8 @@ exports.run = async (bot, msg, args) => { msg.reply('Nope! You need the person who created this bot to use this command.'); } else { - message.channel.sendMessage(args.join(" ")); - message.delete(); + msg.channel.sendMessage(args.join(" ")); + msg.delete(); } }; |
