From c4ef0d5d72dd47b76e39fa91a7552c19c8120ad8 Mon Sep 17 00:00:00 2001 From: Alee Date: Fri, 20 Apr 2018 17:49:37 -0400 Subject: Working progress command handler --- commands/ping.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 commands/ping.js (limited to 'commands/ping.js') 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', +}; -- cgit v1.2.3