aboutsummaryrefslogtreecommitdiff
path: root/commands/Getting Started/ping.js
diff options
context:
space:
mode:
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.'
};