aboutsummaryrefslogtreecommitdiff
path: root/commands/Getting Started/ping.js
diff options
context:
space:
mode:
authorJustin <jtsshieh@outlook.com>2019-11-02 11:02:19 -0400
committerJustin <jtsshieh@outlook.com>2019-11-02 11:02:19 -0400
commit7031fa12ba79281edc49df972311c13ad0e8fa53 (patch)
tree60410a33fe45add85a9dc962c975be478f3f8cff /commands/Getting Started/ping.js
parent106530d5dc53166632a6a0ecc8930eb2b1ed4bfd (diff)
downloadPokeBot-7031fa12ba79281edc49df972311c13ad0e8fa53.tar.gz
PokeBot-7031fa12ba79281edc49df972311c13ad0e8fa53.tar.bz2
PokeBot-7031fa12ba79281edc49df972311c13ad0e8fa53.zip
es-lint settings added + linted all files
Diffstat (limited to 'commands/Getting Started/ping.js')
-rw-r--r--commands/Getting Started/ping.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/Getting Started/ping.js b/commands/Getting Started/ping.js
index 365c9f4..17d5456 100644
--- a/commands/Getting Started/ping.js
+++ b/commands/Getting Started/ping.js
@@ -8,15 +8,15 @@
* *************************************/
exports.run = (bot, msg) => {
- msg.channel.send(':ping_pong: Pong! ' + Math.floor(bot.ping) + 'ms.');
+ msg.channel.send(`:ping_pong: Pong! ${ Math.floor(bot.ping)}ms.`);
};
exports.conf = {
aliases: [],
- guildOnly: true,
+ guildOnly: true
};
exports.help = {
name: 'ping',
- description: 'Pings the bot and replies with the latency.',
+ description: 'Pings the bot and replies with the latency.'
};