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 jack1142
parent 1dda0f95de
commit dc3fe1f8f8

View File

@@ -374,7 +374,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)