diff options
Diffstat (limited to 'bot.js')
| -rw-r--r-- | bot.js | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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); |
