diff --git a/bot.js b/bot.js index 9746ac1..8124da8 100644 --- a/bot.js +++ b/bot.js @@ -24,23 +24,23 @@ function commandsHelp(requestedCommand) { var commands = {"coinflip": "**coinflip:** Returns a result of heads or tails.", "8ball": "**8ball:** Shakes an 8 ball and returns a result.", "compute": "**compute:** Uses WolframAlpha to process the question asked.", - "bunny": "**bunny:** Posts a picture from imgur on r/rabbits", - "dankmemes": "**dankmemes:** Posts a picture from reddit/imgur on r/dankmemes", - "meirl": "**meirl:** Posts a picture from reddit/imgur on r/anime_irl", - "animemes": "**animemes:** Posts a picture from reddit/imgur on r/animemes", - "moe": "**moe:** Posts a picture from redditbooru/imgur on r/awwnime", - "moe-boys": "**moe-boys:** Posts a picture from reddit/imgur on r/cuteanimeboys", - "hotguys": "**hotguys:** Posts a picture from redditbooru/reddit on r/bishounen", - "kgirls": "**kgirls:** Posts a picture from redditbooru/imgur on r/kpics or reddit on r/kpopfap", - "kboys": "**kboys:** Posts a picture from imgur on r/kfanservice, r/kpecs, or r/cutekboys", - "lewd": "[NSFW] **lewd:** Posts a picture from redditbooru on r/pantsu", - "ecchi": "[NSFW] **ecchi:** Posts a picture from reddit/imgur on r/ecchi", - "hentai": "[NSFW] **hentai:** Posts a picture from reddit/imgur on r/hentai or imgur on r/sukebei", - "yaoi": "[NSFW] **yaoi:** Posts a picture from imgur on r/yaoi", - "yuru": "[NSFW] **yuri:** Post a picture from imgur on r/yuri", - "neko": "[NSFW] **neko:** Posts a picture from reddit/imgur on r/nekomimi", - "pokeporn": "[NSFW] **pokeporn:** Posts a picture from redditbooru/reddit on r/pokeporn", - "hgifs": "[NSFW] **hgifs:** Posts a gif from reddit on r/nsfwanimegifs"}; + "bunny": "**bunny:** Posts a picture from r/rabbits on imgur", + "dankmemes": "**dankmemes:** Posts a picture from r/dankmemes on reddit/imgur", + "meirl": "**meirl:** Posts a picture from r/anime_irl on reddit/imgur", + "animemes": "**animemes:** Posts a picture from r/animemes on reddit/imgur", + "moe": "**moe:** Posts a picture from r/awwnime on redditbooru/imgur", + "moe-boys": "**moe-boys:** Posts a picture from r/cuteanimeboys on reddit/imgur", + "hotguys": "**hotguys:** Posts a picture from r/bishounen on redditbooru/reddit", + "kgirls": "**kgirls:** Posts a picture from r/kpics on redditbooru/imgur or r/kpopfap on reddit", + "kboys": "**kboys:** Posts a picture from r/kfanservice, r/kpecs, or r/cutekboys on imgur", + "lewd": "[NSFW] **lewd:** Posts a picture from r/pantsu on redditbooru", + "ecchi": "[NSFW] **ecchi:** Posts a picture from r/ecchi on reddit/imgur", + "hentai": "[NSFW] **hentai:** Posts a picture from r/hentai on reddit/imgur or r/sukebei on imgur", + "yaoi": "[NSFW] **yaoi:** Posts a picture from r/yaoi on imgur", + "yuru": "[NSFW] **yuri:** Post a picture from r/yuri on imgur", + "neko": "[NSFW] **neko:** Posts a picture from r/nekomimi on reddit/imgur", + "pokeporn": "[NSFW] **pokeporn:** Posts a picture from r/pokeporn on redditbooru/reddit", + "hgifs": "[NSFW] **hgifs:** Posts a gif from r/nsfwanimegifs on reddit"}; if (commands[requestedCommand] === undefined) { return "Command not found, try entering **b.commands** for a full list of commands"; @@ -377,10 +377,10 @@ client.on('message', message => { message.channel.send(redditbooruRequest('pantsu')); break; case 'ecchi': - message.channel.send((Math.floor(Math.random() * 2) == 0) ? subredditRequest('ecchi') : imgurRequest('ecchi', 5)); + message.channel.send((Math.floor(Math.random() * 2) == 0) ? subredditRequest('ecchi') : ((Math.floor(Math.random() * 2) == 0) ? redditbooruRequest('ecchi') : ((Math.floor(Math.random() * 2) == 0) ? redditbooruRequest('Sukebei') : imgurRequest('ecchi', 5)))); break; case 'hentai': - message.channel.send((Math.floor(Math.random() * 2) == 0) ? imgurRequest('hentai', 5) : ((Math.floor(Math.random() * 2) == 0) ? imgurRequest('Sukebei', 5) : subredditRequest('hentai', 5))); + message.channel.send((Math.floor(Math.random() * 2) == 0) ? imgurRequest('hentai', 5) : subredditRequest('hentai', 5)); break; case 'yaoi': message.channel.send(imgurRequest('yaoi', 5));