Actually make a tag, not just dump the ID... *facepalm*

This commit is contained in:
Ske 2019-04-15 17:11:45 +02:00
parent f978029137
commit 875729258e

View File

@ -99,7 +99,7 @@ async def system_card(conn, client: discord.Client, system: System, is_own_syste
for account_id in await system.get_linked_account_ids(conn): for account_id in await system.get_linked_account_ids(conn):
try: try:
account = await client.get_user_info(account_id) account = await client.get_user_info(account_id)
account_names.append("{} ({}#{})".format(account_id, account.name, account.discriminator)) account_names.append("<@{}> ({}#{})".format(account_id, account.name, account.discriminator))
except discord.NotFound: except discord.NotFound:
account_names.append("(deleted account {})".format(account_id)) account_names.append("(deleted account {})".format(account_id))