added myself to banned users for debug
This commit is contained in:
4
bot.js
4
bot.js
@@ -492,7 +492,7 @@ 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 = ['143999140878090240'];
|
let banned_authors = ['143999140878090240', '517182806359801857'];
|
||||||
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(' ');
|
||||||
@@ -502,7 +502,7 @@ client.on('message', message => {
|
|||||||
// Valid Argument
|
// Valid Argument
|
||||||
if (redditToSummon) {
|
if (redditToSummon) {
|
||||||
|
|
||||||
message.channel.send(message.author + ' summons *' + redditToSummon + '*\n');
|
message.channel.send(message.author + ' summons ' + redditToSummon + '*\n');
|
||||||
let site_response = bestEffortRequest(redditToSummon, 5);
|
let site_response = bestEffortRequest(redditToSummon, 5);
|
||||||
|
|
||||||
if (site_response) {
|
if (site_response) {
|
||||||
|
Reference in New Issue
Block a user