From cfa1ceaf56f064fc674eae3aa93bb5ae9cc2d167 Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Wed, 30 Jun 2021 18:19:18 +0200 Subject: [PATCH] Add ping command --- commands/ping.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 commands/ping.js diff --git a/commands/ping.js b/commands/ping.js new file mode 100644 index 0000000..8e9e842 --- /dev/null +++ b/commands/ping.js @@ -0,0 +1,7 @@ +module.exports = { + name: 'ping', // Keep it to one word + description: 'Just ping.', + execute({message, client}) { //parameters you can use for netload: message, args, client, prefix + message.channel.send(`Ping is ${client.ws.ping}ms`) + } +}; \ No newline at end of file