Added commands and source, removed testcommands

This commit is contained in:
2018-07-17 23:20:57 -05:00
parent 6d5bc8b5d0
commit f51c5da206

10
bot.js
View File

@@ -242,6 +242,11 @@ client.on('message', message => {
switch(cmd)
{
// Reply commands
case 'commands':
message.channel.send('Available commands: ' +
'\n**[SFW]** b.<*coinflip, 8ball, compute, bunny, dankmemes, meirl, moe, moe-boys, hotguys , kgirls, kboys*>' +
'\n**[NSFW]** b.<*lewd, ecchi, hentai, yaoi, yuri, neko, hgifs*>');
break;
case 'coinflip':
case 'coin':
message.channel.send(message.author + ' flipped a coin, it landed on **' + coinFlip() + '!**');
@@ -301,8 +306,11 @@ client.on('message', message => {
case 'dankmemes':
message.channel.send((Math.floor(Math.random() * 2) == 0) ? subredditRequest('dankmemes') : imgurRequest('dankmemes', 5));
break;
case 'testcommand':
/*case 'testcommand':
message.channel.send(subredditRequest('Nekomimi', 5));
break;*/
case 'source':
message.channel.send("BunnyBot's source code: https://git.dtam.pw/daniel/discord-bot-js");
break;
// SFW Anime Image commands