Add proxy tags to full system list (#100)

* Add proxy tags to full system list

* List proxy tags inside code block
This commit is contained in:
Bella | Nightshade 2019-06-06 22:10:01 +00:00 committed by Astrid
parent 8b19f25ed2
commit 6ae24cbe92

View File

@ -278,6 +278,8 @@ def member_list_full(system: System, all_members: List[Member], current_page: in
member_description += "**Birthday:** {}\n".format(member.birthday_string()) member_description += "**Birthday:** {}\n".format(member.birthday_string())
if member.pronouns: if member.pronouns:
member_description += "**Pronouns:** {}\n".format(member.pronouns) member_description += "**Pronouns:** {}\n".format(member.pronouns)
if member.prefix or member.suffix:
member_description += "**Proxy tags:** `{}text{}`\n".format(member.prefix or "", member.suffix or "")
if member.description: if member.description:
if len(member.description) > 512: if len(member.description) > 512:
member_description += "\n" + truncate_description_list(member.description) + "\n" + "Type `pk;member {}` for full description.".format(member.hid) member_description += "\n" + truncate_description_list(member.description) + "\n" + "Type `pk;member {}` for full description.".format(member.hid)