aboutsummaryrefslogtreecommitdiff
path: root/bot_discord.js
diff options
context:
space:
mode:
Diffstat (limited to 'bot_discord.js')
-rw-r--r--bot_discord.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/bot_discord.js b/bot_discord.js
index 1361bdb..23de734 100644
--- a/bot_discord.js
+++ b/bot_discord.js
@@ -81,8 +81,6 @@ client.on('guildDelete', guild => {
client.on('message', (msg) => {
- if (msg.author.bot) return;
-
if (!msg.content.startsWith(prefix)) return;
const args = msg.content.slice(prefix.length).trim().split(/ +/g);
const command = args.shift();