aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
}
};