Archived
fixed infinite loop + fake NOT_FOUND messages
This commit is contained in:
1 parent
dc8d607b17
commit
8298027d4d
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user