! not ~
This commit is contained in:
1 parent
4aaad484ea
commit
1ed924da6d
1 file changed
+1
-1
@@ -534,7 +534,7 @@ client.on('message', message => {
|
||||
// Checks for banned author's using a hard coded list of discord ids.
|
||||
// Also rudely cleans garbage entries.
|
||||
let banned_authors = ['143999140878090240', '517182806359801857'];
|
||||
if (~banned_authors.includes(message.author.id)) {
|
||||
if (!banned_authors.includes(message.author.id)) {
|
||||
|
||||
let messageSplit = message.content.substring(2).split(' ');
|
||||
if (messageSplit.length >= 2) {
|
||||
|
||||
Reference in new issue
Block a user