From b7d648935db433f4f417b2302776bc30ac8dbc4e Mon Sep 17 00:00:00 2001 From: Ske Date: Sun, 14 Apr 2019 23:24:49 +0200 Subject: [PATCH] Add clickable account tags in message cards --- src/pluralkit/bot/embeds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pluralkit/bot/embeds.py b/src/pluralkit/bot/embeds.py index 96b1efb4..ea184712 100644 --- a/src/pluralkit/bot/embeds.py +++ b/src/pluralkit/bot/embeds.py @@ -209,7 +209,7 @@ async def message_card(client: discord.Client, message: db.MessageInfo, include_ embed.add_field(name="Member", value="{} (`{}`)".format(message.name, message.hid)) if original_sender: - sender_name = "{}#{}".format(original_sender.name, original_sender.discriminator) + sender_name = "<@{}> ({}#{})".format(message.sender, original_sender.name, original_sender.discriminator) else: sender_name = "(deleted account {})".format(message.sender)