From a6979e0ac8dbafa5cfe10510d6c8ad0e7e10cf74 Mon Sep 17 00:00:00 2001 From: Alee Date: Thu, 29 Mar 2018 15:35:59 -0400 Subject: Reverting things --- bot_discord.js | 1 + 1 file changed, 1 insertion(+) (limited to 'bot_discord.js') diff --git a/bot_discord.js b/bot_discord.js index 2d9a488..02d7a7d 100644 --- a/bot_discord.js +++ b/bot_discord.js @@ -87,6 +87,7 @@ 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(); -- cgit v1.2.3