summon edits
This commit is contained in:
7
bot.js
7
bot.js
@@ -484,12 +484,15 @@ client.on('message', message => {
|
||||
message.channel.send((Math.floor(Math.random() * 2) === 0) ? subredditRequest('hentaibondage') : imgurRequest('hentaibondage', 5));
|
||||
break;
|
||||
|
||||
case 'myid':
|
||||
message.channel.reply("Your id is " + message.author);
|
||||
break;
|
||||
case 'summon':
|
||||
try {
|
||||
// Dalton's image summon command.
|
||||
// Checks for banned author's using a hard coded list of discord ids.
|
||||
// Also rudely cleans garbage entries.
|
||||
let banned_authors = ['143999140878090240'];
|
||||
let banned_authors = ['steven once i find his id.'];
|
||||
if (banned_authors.includes(message.author)) {
|
||||
|
||||
let messageSplit = message.content.substring(2).split(' ');
|
||||
@@ -506,7 +509,7 @@ client.on('message', message => {
|
||||
message.channel.send(redditResponse);
|
||||
}
|
||||
|
||||
// Missing Argumentg
|
||||
// Missing Argument
|
||||
} else {
|
||||
message.reply("wut do i summon?");
|
||||
}
|
||||
|
Reference in New Issue
Block a user