aboutsummaryrefslogtreecommitdiff
path: root/src/commands/ping.js
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2017-12-03 06:59:37 -0500
committerAlee14 <Alee14498@gmail.com>2017-12-03 06:59:37 -0500
commitfe9c201eb5587d08293f89c357fa445e09c614b4 (patch)
tree921780dfd6a9cbe022363f09f1c2e90e52c7aed1 /src/commands/ping.js
parent34d5670837d8d72354c42fd4e74978767bea0416 (diff)
downloadAleeBot-fe9c201eb5587d08293f89c357fa445e09c614b4.tar.gz
AleeBot-fe9c201eb5587d08293f89c357fa445e09c614b4.tar.bz2
AleeBot-fe9c201eb5587d08293f89c357fa445e09c614b4.zip
Command Handler is now finished
Diffstat (limited to 'src/commands/ping.js')
-rw-r--r--src/commands/ping.js7
1 files changed, 7 insertions, 0 deletions
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