aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
Diffstat (limited to 'bot.js')
-rw-r--r--bot.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/bot.js b/bot.js
index 469137b..f9dcd3f 100644
--- a/bot.js
+++ b/bot.js
@@ -28,9 +28,15 @@ function parseCommand(msg) {
msg.channel.send(
new Discord.RichEmbed()
.setColor (0x00ae86)
- .addField('Getting Started |', '**p:help** | Displays this help message')
+ .setTitle('PokeBot Command List')
+ .setDescription('These are the commands you can use. My prefix is `p:`')
+ .addField('Core', 'help', true)
+ .setFooter('PokeBot Beta')
);
break;
+ case 'ping':
+ msg.channel.send(':ping_pong: Pong! ' + Math.floor(bot.ping));
+ break;
}
}
bot.login(config.token);