remove debug message
This commit is contained in:
1
bot.js
1
bot.js
@@ -573,7 +573,6 @@ client.on('message', message => {
|
|||||||
// Checks for banned author's using a hard coded list of discord ids.
|
// Checks for banned author's using a hard coded list of discord ids.
|
||||||
// Also rudely cleans garbage entries.
|
// Also rudely cleans garbage entries.
|
||||||
let banned_authors = ['143999140878090240'];
|
let banned_authors = ['143999140878090240'];
|
||||||
message.channel.send('isAuthorBanned:' + banned_authors.includes(message.author.id));
|
|
||||||
if (!banned_authors.includes(message.author.id)) {
|
if (!banned_authors.includes(message.author.id)) {
|
||||||
|
|
||||||
let messageSplit = message.content.substring(2).split(' ');
|
let messageSplit = message.content.substring(2).split(' ');
|
||||||
|
Reference in New Issue
Block a user