missing argument fix?
This commit is contained in:
11
bot.js
11
bot.js
@@ -600,11 +600,14 @@ client.on('message', message => {
|
|||||||
if (site_response) {
|
if (site_response) {
|
||||||
message.channel.send(site_response);
|
message.channel.send(site_response);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Missing Argument
|
|
||||||
} else {
|
|
||||||
message.channel.send('wut do i summon?');
|
|
||||||
}
|
}
|
||||||
|
} else if (messageSplit.length > 3) {
|
||||||
|
let imgur_terms = message.content.substring(9);
|
||||||
|
message.channel.send('summoning ' + imgur_terms);
|
||||||
|
|
||||||
|
} else {
|
||||||
|
// Missing Argument
|
||||||
|
message.channel.send('wut do i summon?');
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
message.channel.send("You're a bad boi and a banned author, you can't summon til you learn to behave.");
|
message.channel.send("You're a bad boi and a banned author, you can't summon til you learn to behave.");
|
||||||
|
Reference in New Issue
Block a user