Skip to content

Commit

Permalink
guh
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Dec 28, 2023
1 parent 781b549 commit b0600f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webserver/banshare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ const banButton = new Button(
interaction.guild?.bans.create(data.userId, {
reason: modalResponse.components[0].components[0].value,
});
await interaction.followUp({
await modalResponse.reply({
content: `<@${data.userId}> (\`${data.userId}\`) was banned.`,
ephemeral: true,
});
await interaction.update({
await interaction.message.edit({
components: [
new ActionRowBuilder<ButtonBuilder>().addComponents(
new ButtonBuilder()
Expand Down

0 comments on commit b0600f3

Please sign in to comment.