aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
authorAlee <alee14498@gmail.com>2018-02-24 10:32:29 -0500
committerAlee <alee14498@gmail.com>2018-02-24 10:32:29 -0500
commit3917b4df3d5671159eafda710834bc40e8ba7c75 (patch)
tree1b2a06d69321d57e09249f66bf25b6ffbf54719d /commands
parent6f1a9bab9ea95aac8507c483937e30969e1ed684 (diff)
downloadPokeBot-3917b4df3d5671159eafda710834bc40e8ba7c75.tar.gz
PokeBot-3917b4df3d5671159eafda710834bc40e8ba7c75.tar.bz2
PokeBot-3917b4df3d5671159eafda710834bc40e8ba7c75.zip
Once again i'm a donkey..
Diffstat (limited to 'commands')
-rw-r--r--commands/say.js4
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();
}
};