Fix amount of messages in log message of [p]cleanup message (#4156)

Fixes #4155
This commit is contained in:
MeatyChunks
2020-08-04 11:14:13 +01:00
committed by GitHub
parent 775528ce9b
commit 8e0dbb7185

View File

@@ -378,7 +378,7 @@ class Cleanup(commands.Cog):
to_delete.append(ctx.message)
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)