mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 19:28:54 -05:00
Fix amount of messages in log message of [p]cleanup message (#4156)
Fixes #4155
This commit is contained in:
parent
775528ce9b
commit
8e0dbb7185
@ -378,7 +378,7 @@ class Cleanup(commands.Cog):
|
|||||||
to_delete.append(ctx.message)
|
to_delete.append(ctx.message)
|
||||||
|
|
||||||
reason = "{}({}) deleted {} messages in channel {}.".format(
|
reason = "{}({}) deleted {} messages in channel {}.".format(
|
||||||
author.name, author.id, number, channel.name
|
author.name, author.id, len(to_delete), channel.name
|
||||||
)
|
)
|
||||||
log.info(reason)
|
log.info(reason)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user