Create ping.js

This commit is contained in:
UltraLion
2022-11-05 23:07:02 +01:00
committed by GitHub
parent 415ef4680f
commit 84aab3ecad
+10
View File
@@ -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\` 🚀` });
}
};