From dc3fe1f8f8e3ff3e0867f64e4616142346087bb6 Mon Sep 17 00:00:00 2001 From: MeatyChunks <6160351+MeatyChunks@users.noreply.github.com> Date: Tue, 4 Aug 2020 11:14:13 +0100 Subject: [PATCH] Fix amount of messages in log message of `[p]cleanup message` (#4156) Fixes #4155 --- redbot/cogs/cleanup/cleanup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redbot/cogs/cleanup/cleanup.py b/redbot/cogs/cleanup/cleanup.py index 2cd2d37e8..e7b66b2e5 100644 --- a/redbot/cogs/cleanup/cleanup.py +++ b/redbot/cogs/cleanup/cleanup.py @@ -374,7 +374,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)