Added commands and source, removed testcommands
This commit is contained in:
10
bot.js
10
bot.js
@@ -242,6 +242,11 @@ client.on('message', message => {
|
|||||||
switch(cmd)
|
switch(cmd)
|
||||||
{
|
{
|
||||||
// Reply commands
|
// 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 'coinflip':
|
||||||
case 'coin':
|
case 'coin':
|
||||||
message.channel.send(message.author + ' flipped a coin, it landed on **' + coinFlip() + '!**');
|
message.channel.send(message.author + ' flipped a coin, it landed on **' + coinFlip() + '!**');
|
||||||
@@ -301,8 +306,11 @@ client.on('message', message => {
|
|||||||
case 'dankmemes':
|
case 'dankmemes':
|
||||||
message.channel.send((Math.floor(Math.random() * 2) == 0) ? subredditRequest('dankmemes') : imgurRequest('dankmemes', 5));
|
message.channel.send((Math.floor(Math.random() * 2) == 0) ? subredditRequest('dankmemes') : imgurRequest('dankmemes', 5));
|
||||||
break;
|
break;
|
||||||
case 'testcommand':
|
/*case 'testcommand':
|
||||||
message.channel.send(subredditRequest('Nekomimi', 5));
|
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;
|
break;
|
||||||
|
|
||||||
// SFW Anime Image commands
|
// SFW Anime Image commands
|
||||||
|
Reference in New Issue
Block a user