aboutsummaryrefslogtreecommitdiff
path: root/src/commands/ping.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/ping.js')
-rw-r--r--src/commands/ping.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/commands/ping.js b/src/commands/ping.js
new file mode 100644
index 0000000..5ad8f78
--- /dev/null
+++ b/src/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: 'Ping the bot.',
+ usage: 'ping',
+ category: '- General Commands',
+};