im tired of that stupid bug pls

This commit is contained in:
Loic Bersier 2018-12-14 14:36:20 +01:00
parent e6575a6abc
commit adb38f1359

View file

@ -81,11 +81,12 @@ client.registry
var autoresponse = new SelfReloadJSON('./json/autoresponse.json'); var autoresponse = new SelfReloadJSON('./json/autoresponse.json');
let message_content = message.content.toLowerCase(); let message_content = message.content.toLowerCase();
// fix a stupid bug that happen for idk wich reasons // fix a stupid bug that happen for idk wich reasons pls why tf it happen
if (message_content == ('stop')) return; if (message_content == ('stop')) return;
if (message_content == ('is')) return; if (message_content == ('is')) return;
if (message_content == ('on')) return; if (message_content == ('on')) return;
if (message_content == ('once')) return; if (message_content == ('once')) return;
if (message_content == ('save')) return;
if (message.author.bot) return; { if (message.author.bot) return; {