aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrey <trey6979@gmail.com>2018-02-23 19:24:53 -0500
committerTrey <trey6979@gmail.com>2018-02-23 19:24:53 -0500
commit3a230b5796d982639c3b3bcb2dfc0bc9b7a8b0a4 (patch)
treee818bbda12075bde5a10b10558a7634293355c0b
parentea62f12e46d5b27161d4f3e7ff665f10fc272aaa (diff)
downloadPokeBot-3a230b5796d982639c3b3bcb2dfc0bc9b7a8b0a4.tar.gz
PokeBot-3a230b5796d982639c3b3bcb2dfc0bc9b7a8b0a4.tar.bz2
PokeBot-3a230b5796d982639c3b3bcb2dfc0bc9b7a8b0a4.zip
fixed errors by my eyes...
-rw-r--r--bot.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot.js b/bot.js
index f9dcd3f..a4306c3 100644
--- a/bot.js
+++ b/bot.js
@@ -30,12 +30,12 @@ function parseCommand(msg) {
.setColor (0x00ae86)
.setTitle('PokeBot Command List')
.setDescription('These are the commands you can use. My prefix is `p:`')
- .addField('Core', 'help', true)
+ .addField('Core', 'help\nping', true)
.setFooter('PokeBot Beta')
);
break;
case 'ping':
- msg.channel.send(':ping_pong: Pong! ' + Math.floor(bot.ping));
+ msg.channel.send(':ping_pong: Pong! ' + Math.floor(bot.ping) + 'ms.');
break;
}
}