From 84aab3ecad196dee1cdebb57e144b561913682fb Mon Sep 17 00:00:00 2001 From: UltraLion <49597041+UltraLionfr@users.noreply.github.com> Date: Sat, 5 Nov 2022 23:07:02 +0100 Subject: [PATCH] Create ping.js --- commands/Info/ping.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 commands/Info/ping.js diff --git a/commands/Info/ping.js b/commands/Info/ping.js new file mode 100644 index 0000000..45b7b3e --- /dev/null +++ b/commands/Info/ping.js @@ -0,0 +1,10 @@ +module.exports = { + name: "ping", + description: "Renvoie le ping du bot", + + run: async (client, interaction) => { + // send bot ping and ws latency + interaction.followUp({ content: `Ping : \`${client.ws.ping} ms\` 🚀` }); + + } +};