Skip to content

Commit

Permalink
Update utility.py
Browse files Browse the repository at this point in the history
  • Loading branch information
FasterSpeeding authored Aug 12, 2024
1 parent 0e59d17 commit aab0e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reinhard/components/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ async def member(ctx: tanjun.abc.Context, member: Member | None = None) -> None:
roles = {role.id: role for role in map(guild.roles.get, member.role_ids) if role}
ordered_roles = sorted(((role.position, role) for role in roles.values()), reverse=True)

roles_repr = "\n".join(map("{0[1].name}: {0[1].id}".format, ordered_roles)) # noqa: FS002 # pyright: ignore
roles_repr = "\n".join(map("{0[1].name}: {0[1].id}".format, ordered_roles)) # noqa: FS002

for _, role in ordered_roles:
if role.colour:
Expand Down

0 comments on commit aab0e21

Please sign in to comment.