Skip to content

Commit

Permalink
fix(onboarding): fix reply/defer check
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-737 committed Jun 10, 2024
1 parent c48f535 commit c21e6c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/network/onboarding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const showOnboarding = async (
ephemeral,
};

const reply = interaction.deferred
const reply = interaction.deferred || interaction.replied
? await interaction.editReply(replyMsg)
: await interaction.reply(replyMsg);

Expand Down

0 comments on commit c21e6c6

Please sign in to comment.