diff --git a/src/Bot.ts b/src/Bot.ts index 67f119a..721157d 100644 --- a/src/Bot.ts +++ b/src/Bot.ts @@ -95,7 +95,7 @@ class Bot { } } } - else { + else if(m.content.startsWith(this.config.prefix) && !m.author.bot) { this.messages.system.send('NOT_FOUND', { phrase: m.content, user: m.member || undefined }, m.channel); } });