Skip to content

Commit 42dc6cb

Browse files
committed
Move around purge command
1 parent 3f698ce commit 42dc6cb

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

techsupport_bot/commands/purge.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,9 @@ async def purge_command(
7777
else:
7878
timestamp = None
7979

80-
await interaction.response.send_message("Purge Successful", ephemeral=True)
81-
8280
await interaction.channel.purge(after=timestamp, limit=amount)
8381

82+
await interaction.response.send_message("Purge Successful", ephemeral=True)
8483
await moderation.send_command_usage_alert(
8584
bot_object=self.bot,
8685
interaction=interaction,

0 commit comments

Comments
 (0)