Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.

Commit 491c4e7

Browse files
NekoFanaticDefelo
authored andcommitted
Added name from role to
1 parent e44cf0a commit 491c4e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

administration/roles/cog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ async def roles_list(self, ctx: Context, *, role: Role):
361361
out.append(f":grey_question: <@{member_id}> (@{member_name}) :shield:")
362362

363363
if out:
364-
embed = Embed(title=t.member_list_cnt(len(out)), colour=0x256BE6, description="\n".join(out))
364+
embed = Embed(title=t.member_list_cnt(len(out), role.name), colour=0x256BE6, description="\n".join(out))
365365
else:
366366
embed = Embed(title=t.member_list, colour=0xCF0606, description=t.no_members)
367367
await send_long_embed(ctx, embed, paginate=True)

administration/roles/translations/en.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ role_auth_removed: Role assignment authorization has been removed successfully.
3838
log_role_auth_removed: Role assignment authorization `@{}` -> `@{}` has been removed.
3939
role_not_authorized: You are not allowed to manage this role.
4040
member_list: Member List
41-
member_list_cnt: Member List ({})
41+
member_list_cnt: Member List ({}) for the `{}` role
4242
member_list_line: ":small_orange_diamond: {} ({})"
4343
no_members: No member was found with this role.
4444
role_already_assigned: Role has already been assigned to this member.

0 commit comments

Comments
 (0)