From 9debaaf83801dea5f702cf2c6059daad9b7d6266 Mon Sep 17 00:00:00 2001 From: Niklas Mertsch <49114330+NMertsch@users.noreply.github.com> Date: Mon, 7 Jul 2025 18:15:53 +0200 Subject: [PATCH] $participants: Don't ping @everyone Fixes #253 --- src/europython_discord/cogs/guild_statistics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/europython_discord/cogs/guild_statistics.py b/src/europython_discord/cogs/guild_statistics.py index e144af0a..48a78db7 100644 --- a/src/europython_discord/cogs/guild_statistics.py +++ b/src/europython_discord/cogs/guild_statistics.py @@ -37,7 +37,7 @@ async def list_participants(self, ctx: commands.Context) -> None: # send message lines = [f"{ctx.author.mention} Participant Statistics:"] for role_name, count in role_counts.items(): - lines.append(f"* {count} {role_name}") + lines.append(f"* {count} {role_name.strip('<>@')}") await ctx.send(content="\n".join(lines)) async def cog_check(self, ctx: commands.Context) -> bool: