summaryrefslogtreecommitdiff
path: root/src/commands/ping.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/ping.js')
-rw-r--r--src/commands/ping.js19
1 files changed, 13 insertions, 6 deletions
diff --git a/src/commands/ping.js b/src/commands/ping.js
index e2ff213..5ad8f78 100644
--- a/src/commands/ping.js
+++ b/src/commands/ping.js
@@ -1,7 +1,14 @@
-module.exports.run = async (client, message, args, abVersion) => {
- message.reply("**PONG!** :ping_pong: " + Math.round(client.ping) + " ms");
-}
+module.exports.run = async (client, message) => {
+ message.reply('**PONG!** :ping_pong: ' + Math.round(client.ping) + ' ms');
+};
-module.exports.config = {
- command: "ping"
-} \ No newline at end of file
+exports.conf = {
+ aliases: [],
+ guildOnly: false,
+};
+exports.help = {
+ name: 'ping',
+ description: 'Ping the bot.',
+ usage: 'ping',
+ category: '- General Commands',
+};