...helps if i do the boolean right
This commit is contained in:
4
bot.js
4
bot.js
@@ -492,8 +492,8 @@ client.on('message', message => {
|
|||||||
// Dalton's image summon command.
|
// Dalton's image summon command.
|
||||||
// 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 = ['steven once i find his id.'];
|
let banned_authors = ['143999140878090240'];
|
||||||
if (banned_authors.includes(message.author)) {
|
if (~banned_authors.includes(message.author)) {
|
||||||
|
|
||||||
let messageSplit = message.content.substring(2).split(' ');
|
let messageSplit = message.content.substring(2).split(' ');
|
||||||
if (messageSplit.length >= 2) {
|
if (messageSplit.length >= 2) {
|
||||||
|
Reference in New Issue
Block a user