Skip to content

Commit 8ab968b

Browse files
committed
Remove @@everyone role from being displayed on /whoami user profile
1 parent e006a1c commit 8ab968b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ async def whoami(ctx:SlashContext, user:discord.User=None):
668668
localembed.add_field(name='Avatar URL', value=f"[here!]({pfp})", inline=False)
669669
role_render = ""
670670
for p in user.roles:
671-
if p != "everyone": role_render += f"<@&{p.id}> "
671+
if p != user.roles[0]: role_render += f"<@&{p.id}> "
672672
localembed.add_field(name='Roles', value=role_render, inline=False)
673673
await ctx.send(embed=localembed)
674674

0 commit comments

Comments
 (0)