From b9a7a2b07c9ecbac3b97680e72d757b300f5b8d5 Mon Sep 17 00:00:00 2001 From: David Date: Thu, 12 Oct 2023 15:43:13 +0200 Subject: [PATCH] Und Ping Signed-off-by: David --- commands/ping.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/ping.js b/commands/ping.js index bfcbd5d..9d25a83 100644 --- a/commands/ping.js +++ b/commands/ping.js @@ -4,7 +4,7 @@ module.exports = { data: new SlashCommandBuilder() .setName('ping') .setDescription('Sendet die Zeit, die der Bot benötigt, um zu antworten.'), - async execute(interaction) { + async execute(interaction, client) { await interaction.reply({ content: "Pong! **" + client.ws.ping + "ms**", ephemeral: true,