From 8e0dbb71858ff58ac42df818e3cb09a3a25472a8 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 c8311647c..1c1e426d6 100644 --- a/redbot/cogs/cleanup/cleanup.py +++ b/redbot/cogs/cleanup/cleanup.py @@ -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)