restructed help text, added additional sources for ecchi command
This commit is contained in:
38
bot.js
38
bot.js
@@ -24,23 +24,23 @@ function commandsHelp(requestedCommand) {
|
|||||||
var commands = {"coinflip": "**coinflip:** Returns a result of heads or tails.",
|
var commands = {"coinflip": "**coinflip:** Returns a result of heads or tails.",
|
||||||
"8ball": "**8ball:** Shakes an 8 ball and returns a result.",
|
"8ball": "**8ball:** Shakes an 8 ball and returns a result.",
|
||||||
"compute": "**compute:** Uses WolframAlpha to process the question asked.",
|
"compute": "**compute:** Uses WolframAlpha to process the question asked.",
|
||||||
"bunny": "**bunny:** Posts a picture from imgur on r/rabbits",
|
"bunny": "**bunny:** Posts a picture from r/rabbits on imgur",
|
||||||
"dankmemes": "**dankmemes:** Posts a picture from reddit/imgur on r/dankmemes",
|
"dankmemes": "**dankmemes:** Posts a picture from r/dankmemes on reddit/imgur",
|
||||||
"meirl": "**meirl:** Posts a picture from reddit/imgur on r/anime_irl",
|
"meirl": "**meirl:** Posts a picture from r/anime_irl on reddit/imgur",
|
||||||
"animemes": "**animemes:** Posts a picture from reddit/imgur on r/animemes",
|
"animemes": "**animemes:** Posts a picture from r/animemes on reddit/imgur",
|
||||||
"moe": "**moe:** Posts a picture from redditbooru/imgur on r/awwnime",
|
"moe": "**moe:** Posts a picture from r/awwnime on redditbooru/imgur",
|
||||||
"moe-boys": "**moe-boys:** Posts a picture from reddit/imgur on r/cuteanimeboys",
|
"moe-boys": "**moe-boys:** Posts a picture from r/cuteanimeboys on reddit/imgur",
|
||||||
"hotguys": "**hotguys:** Posts a picture from redditbooru/reddit on r/bishounen",
|
"hotguys": "**hotguys:** Posts a picture from r/bishounen on redditbooru/reddit",
|
||||||
"kgirls": "**kgirls:** Posts a picture from redditbooru/imgur on r/kpics or reddit on r/kpopfap",
|
"kgirls": "**kgirls:** Posts a picture from r/kpics on redditbooru/imgur or r/kpopfap on reddit",
|
||||||
"kboys": "**kboys:** Posts a picture from imgur on r/kfanservice, r/kpecs, or r/cutekboys",
|
"kboys": "**kboys:** Posts a picture from r/kfanservice, r/kpecs, or r/cutekboys on imgur",
|
||||||
"lewd": "[NSFW] **lewd:** Posts a picture from redditbooru on r/pantsu",
|
"lewd": "[NSFW] **lewd:** Posts a picture from r/pantsu on redditbooru",
|
||||||
"ecchi": "[NSFW] **ecchi:** Posts a picture from reddit/imgur on r/ecchi",
|
"ecchi": "[NSFW] **ecchi:** Posts a picture from r/ecchi on reddit/imgur",
|
||||||
"hentai": "[NSFW] **hentai:** Posts a picture from reddit/imgur on r/hentai or imgur on r/sukebei",
|
"hentai": "[NSFW] **hentai:** Posts a picture from r/hentai on reddit/imgur or r/sukebei on imgur",
|
||||||
"yaoi": "[NSFW] **yaoi:** Posts a picture from imgur on r/yaoi",
|
"yaoi": "[NSFW] **yaoi:** Posts a picture from r/yaoi on imgur",
|
||||||
"yuru": "[NSFW] **yuri:** Post a picture from imgur on r/yuri",
|
"yuru": "[NSFW] **yuri:** Post a picture from r/yuri on imgur",
|
||||||
"neko": "[NSFW] **neko:** Posts a picture from reddit/imgur on r/nekomimi",
|
"neko": "[NSFW] **neko:** Posts a picture from r/nekomimi on reddit/imgur",
|
||||||
"pokeporn": "[NSFW] **pokeporn:** Posts a picture from redditbooru/reddit on r/pokeporn",
|
"pokeporn": "[NSFW] **pokeporn:** Posts a picture from r/pokeporn on redditbooru/reddit",
|
||||||
"hgifs": "[NSFW] **hgifs:** Posts a gif from reddit on r/nsfwanimegifs"};
|
"hgifs": "[NSFW] **hgifs:** Posts a gif from r/nsfwanimegifs on reddit"};
|
||||||
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";
|
||||||
@@ -377,10 +377,10 @@ client.on('message', message => {
|
|||||||
message.channel.send(redditbooruRequest('pantsu'));
|
message.channel.send(redditbooruRequest('pantsu'));
|
||||||
break;
|
break;
|
||||||
case 'ecchi':
|
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;
|
break;
|
||||||
case 'hentai':
|
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;
|
break;
|
||||||
case 'yaoi':
|
case 'yaoi':
|
||||||
message.channel.send(imgurRequest('yaoi', 5));
|
message.channel.send(imgurRequest('yaoi', 5));
|
||||||
|
Reference in New Issue
Block a user