Add viewing member pronouns on message query. Closes #73.

This commit is contained in:
Ske
2019-04-14 22:13:43 +02:00
parent e1c1ea2bca
commit 6c3c6eae4d
3 changed files with 10 additions and 6 deletions

View File

@@ -240,7 +240,7 @@ async def do_query_message(conn, client: discord.Client, queryer_id: int, messag
return False
# Then DM the queryer the message embed
card = await embeds.message_card(client, msg)
card = await embeds.message_card(client, msg, include_pronouns=True)
user = client.get_user(queryer_id)
if not user:
# We couldn't find this user in the cache - bail