Create ping.js
This commit is contained in:
@@ -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\` 🚀` });
|
||||
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user