Skip to content

Commit

Permalink
Fix recent score buttons not respecting parent interaction ephemeral …
Browse files Browse the repository at this point in the history
…setting
  • Loading branch information
Rian8337 committed Nov 16, 2024
1 parent 301a286 commit d9ce662
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/creators/MessageButtonCreator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,9 @@ export abstract class MessageButtonCreator extends InteractionCollectorCreator {
[interaction.user.id],
60,
async (c, i) => {
await i.deferReply();
await i.deferReply({
ephemeral: interaction.ephemeral ?? false,
});

switch (i.customId) {
case missAnalyzerButtonId: {
Expand Down

0 comments on commit d9ce662

Please sign in to comment.