added command: hentaibondage

This commit is contained in:
2018-12-05 16:40:19 -06:00
parent 7a46888489
commit 4159ce2fab

7
bot.js
View File

@@ -41,7 +41,9 @@ function commandsHelp(requestedCommand) {
"yuru": "[NSFW] **yuri:** Post a picture of yuri (r/yuri)", "yuru": "[NSFW] **yuri:** Post a picture of yuri (r/yuri)",
"neko": "[NSFW] **neko:** Posts a picture of cat girls (r/nekomimi)", "neko": "[NSFW] **neko:** Posts a picture of cat girls (r/nekomimi)",
"pokeporn": "[NSFW] **pokeporn:** Posts a picture of pokemon hentai (r/pokeporn)", "pokeporn": "[NSFW] **pokeporn:** Posts a picture of pokemon hentai (r/pokeporn)",
"hgifs": "[NSFW] **hgifs:** Posts a gif of hentai (r/nsfwanimegifs)"}; "hgifs": "[NSFW] **hgifs:** Posts a gif of hentai (r/nsfwanimegifs)",
"hentaibondage": "[NSFW] **hentaibondage:** Posts a picture of hentai in bondage (r/hentaibondage)"};
if (commands[requestedCommand] === undefined) if (commands[requestedCommand] === undefined)
{ {
return "Command not found, try entering **b.commands** for a full list of commands"; return "Command not found, try entering **b.commands** for a full list of commands";
@@ -427,6 +429,9 @@ client.on('message', message => {
case 'hgifs': case 'hgifs':
message.channel.send(subredditRequest('nsfwanimegifs', 5)); message.channel.send(subredditRequest('nsfwanimegifs', 5));
break; break;
case 'hentaibondage':
message.channel.send((Math.floor(Math.random() * 2) == 0) ? subredditRequest('hentaibondage') : imgurRequest('hentaibondage', 5));
break;
// Voice commands // Voice commands
case 'join': case 'join':