Skip to content

Commit 4ec07b0

Browse files
authored
fix: Send new message in channel for purge
1 parent 33bc41e commit 4ec07b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cogs/moderation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ async def purge(self, context: Context, amount: int) -> None:
276276
description=f"**{context.author}** cleared **{len(purged_messages)}** messages!",
277277
color=0x9C84EF
278278
)
279-
await context.send(embed=embed)
279+
await context.channel.send(embed=embed)
280280

281281
@commands.hybrid_command(
282282
name="hackban",

0 commit comments

Comments
 (0)