summaryrefslogtreecommitdiff
path: root/commands/ping.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/ping.js')
-rw-r--r--commands/ping.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/commands/ping.js b/commands/ping.js
new file mode 100644
index 0000000..5ad82fd
--- /dev/null
+++ b/commands/ping.js
@@ -0,0 +1,14 @@
+module.exports.run = async (client, message) => {
+ message.reply('**PONG!** :ping_pong: ' + Math.round(client.ping) + ' ms');
+};
+
+exports.conf = {
+ aliases: [],
+ guildOnly: false,
+};
+exports.help = {
+ name: 'ping',
+ description: 'Displays the ping of the bot.',
+ usage: 'ping',
+ category: '- General Commands',
+};