Embiggen member name in short list
This commit is contained in:
parent
146787f665
commit
54ba5adaa2
@ -243,9 +243,9 @@ def member_list_short(system: System, all_members: List[Member], current_page: i
|
||||
desc = ""
|
||||
for member in all_members[current_page*page_size:current_page*page_size+page_size]:
|
||||
if member.prefix or member.suffix:
|
||||
desc += "[`{}`] {} *({}text{})*\n".format(member.hid, member.name, member.prefix or "", member.suffix or "")
|
||||
desc += "[`{}`] **{}** *({}text{})*\n".format(member.hid, member.name, member.prefix or "", member.suffix or "")
|
||||
else:
|
||||
desc += "[`{}`] {}\n".format(member.hid, member.name)
|
||||
desc += "[`{}`] **{}**\n".format(member.hid, member.name)
|
||||
embed.description = desc
|
||||
return embed
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user