From fe9c201eb5587d08293f89c357fa445e09c614b4 Mon Sep 17 00:00:00 2001 From: Alee14 Date: Sun, 3 Dec 2017 06:59:37 -0500 Subject: Command Handler is now finished --- src/commands/ping.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/commands/ping.js (limited to 'src/commands/ping.js') diff --git a/src/commands/ping.js b/src/commands/ping.js new file mode 100644 index 0000000..12fea51 --- /dev/null +++ b/src/commands/ping.js @@ -0,0 +1,7 @@ +module.exports.run = async (bot, message, args) => { + message.reply("**PONG!** :ping_pong: " + Math.round(client.ping) + " ms"); +} + +module.exports.config = { + command: "ping" +} \ No newline at end of file -- cgit v1.2.3