Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
Update ping.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
wdhdev committed Feb 10, 2024
1 parent a478a1a commit aeb29d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/info/ping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit aeb29d1

Please sign in to comment.