async def METHOD_NAME(self, ctx: commands.Context, limit: int = LIMIT):
    """
    Display a chart of the moderators with the most bans.
    This can take a while for servers with lots of bans.
    """
    limit, _ = await self.get_ban_limit(ctx, limit)
    async with ctx.typing():
        counter = Counter()
        async for entry in ctx.guild.audit_logs(
            action=discord.AuditLogAction.ban, limit=limit
        ):
            if entry.user.bot and entry.reason:
                match = ID_RE.search(entry.reason)
                if match:
                    mod_id = int(match.group(0))
                    user = self.bot.get_user(mod_id) or mod_id
                else:
                    user = entry.user
            else:
                user = entry.user
            counter[self.get_name(user)] += 1
        chart_file = await self.get_chart_file(ctx, counter)
    await ctx.send(file=chart_file)