mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[cleanup] fix error in [p]cleanup spam command (#5879)
This commit is contained in:
parent
64e6044aba
commit
1cb5836db4
@ -733,7 +733,7 @@ class Cleanup(commands.Cog):
|
||||
)
|
||||
|
||||
to_delete.append(ctx.message)
|
||||
await mass_purge(to_delete, ctx.channel, "Duplicate message cleanup")
|
||||
await mass_purge(to_delete, ctx.channel, reason="Duplicate message cleanup")
|
||||
await self.send_optional_notification(len(to_delete), ctx.channel, subtract_invoking=True)
|
||||
|
||||
@commands.group()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user