Embiggen member name in short list

This commit is contained in:
Ske 2019-04-09 22:12:49 +02:00
parent 146787f665
commit 54ba5adaa2

View File

@ -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