Add avatars for systems

This commit is contained in:
Ske
2018-07-15 16:41:21 +02:00
parent b8539ec525
commit cdf1ab89dc
4 changed files with 34 additions and 6 deletions

View File

@@ -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"])