From aeb29d1e75f0f3d5c4064de78767208cb500cd97 Mon Sep 17 00:00:00 2001 From: William Harrison Date: Sat, 10 Feb 2024 14:23:44 +0800 Subject: [PATCH] Update ping.ts --- src/commands/info/ping.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/info/ping.ts b/src/commands/info/ping.ts index 1f18e72..dbacd05 100644 --- a/src/commands/info/ping.ts +++ b/src/commands/info/ping.ts @@ -15,7 +15,7 @@ const command: Command = { enabled: true, allowWhileBanned: false, guildOnly: false, - deferReply: true, + deferReply: false, ephemeral: true, async execute(interaction: CommandInteraction, client: ExtendedClient, Discord: typeof import("discord.js")) { try { @@ -48,7 +48,7 @@ const command: Command = { { name: "API Latency", value: apiLatencyValue, inline: true } ) - await interaction.editReply({ embeds: [ping] }); + await interaction.reply({ embeds: [ping], ephemeral: true }); } catch(err) { client.logCommandError(err, interaction, Discord); }