diff options
| author | Alee <alee14498@gmail.com> | 2018-03-25 10:06:59 -0400 |
|---|---|---|
| committer | Alee <alee14498@gmail.com> | 2018-03-25 10:06:59 -0400 |
| commit | 6ab2cc4d3770326b6c035a6a55e3ecb9ad520194 (patch) | |
| tree | 709acbb1c6b224517cec2f66955125776d5a0d77 /bot_discord.js | |
| parent | b0294964de43db657ea0aaece56bfce71e7e0615 (diff) | |
| download | AleeBot-6ab2cc4d3770326b6c035a6a55e3ecb9ad520194.tar.gz AleeBot-6ab2cc4d3770326b6c035a6a55e3ecb9ad520194.tar.bz2 AleeBot-6ab2cc4d3770326b6c035a6a55e3ecb9ad520194.zip | |
changes
Diffstat (limited to 'bot_discord.js')
| -rw-r--r-- | bot_discord.js | 2 |
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();
|
