...helps if i do the boolean right
This commit is contained in:
1 parent
3147845071
commit
8490abd97a
1 file changed
+2
-2
@@ -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