Skip to content

Commit

Permalink
fix: reply with ephemeral messages to interactions (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
risu729 authored Dec 31, 2023
1 parent 94614e2 commit 0aec9c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const commands: ExecutableCommand[] = [
.setName("Update Embeds")
.toJSON(),
execute: async (interaction) => {
interaction.deferReply();
interaction.deferReply({ ephemeral: true });
await updateEmbedsMessage(interaction.targetMessage);
interaction.deleteReply();
},
Expand Down

0 comments on commit 0aec9c6

Please sign in to comment.