mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-11 00:07:55 +00:00
Add avatars for systems
This commit is contained in:
parent
b8539ec525
commit
cdf1ab89dc
4 changed files with 34 additions and 6 deletions
|
|
@ -204,6 +204,9 @@ async def generate_system_info_card(conn, system: asyncpg.Record) -> discord.Emb
|
|||
if system["name"]:
|
||||
card.title = system["name"]
|
||||
|
||||
if system["avatar_url"]:
|
||||
card.set_thumbnail(url=system["avatar_url"])
|
||||
|
||||
if system["tag"]:
|
||||
card.add_field(name="Tag", value=system["tag"])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue