Skip to content

Commit 5380ca1

Browse files
committed
Fix welcome channels not being removed
Fixes DISCORD-BOT-3
1 parent a146270 commit 5380ca1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/sr/discord_bot/commands/join.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ async def join(interaction: discord.Interaction["BotClient"], password: str) ->
7575
)
7676
interaction.client.logger.info(f"Sent welcome announcement for '{member.name}'")
7777

78-
await interaction.response.defer()
7978
await channel.delete()
8079
interaction.client.logger.info(
8180
f"deleted channel '{channel.name}' because verification has completed.",

0 commit comments

Comments
 (0)