Skip to content

Commit

Permalink
fix(hub): fix 'no' button in leave command
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-737 authored Jun 18, 2024
1 parent 78b258f commit cc037c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/slash/Main/hub/leave.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ export default class Leave extends Hub {
const { locale } = interaction.user;

if (customId.suffix === 'no') {
await interaction.message.delete();
await interaction.deferUpdate();
await interaction.deleteReply();
return;
}

Expand Down

0 comments on commit cc037c6

Please sign in to comment.