Skip to content

Commit e6ae8cd

Browse files
authored
$participants: Don't ping @everyone (#256)
Fixes #253
1 parent 562b0cd commit e6ae8cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/europython_discord/cogs/guild_statistics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ async def list_participants(self, ctx: commands.Context) -> None:
3737
# send message
3838
lines = [f"{ctx.author.mention} Participant Statistics:"]
3939
for role_name, count in role_counts.items():
40-
lines.append(f"* {count} {role_name}")
40+
lines.append(f"* {count} {role_name.strip('<>@')}")
4141
await ctx.send(content="\n".join(lines))
4242

4343
async def cog_check(self, ctx: commands.Context) -> bool:

0 commit comments

Comments
 (0)