From fc7fa6bd8277631cd79c98268c0af1359975c4c1 Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Fri, 3 Jun 2022 22:36:25 +0700 Subject: [PATCH] Mention thing and show name --- Bot/Embeds.fs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Bot/Embeds.fs b/Bot/Embeds.fs index c01612b..e63373c 100644 --- a/Bot/Embeds.fs +++ b/Bot/Embeds.fs @@ -140,7 +140,8 @@ let responseCreatedShield (shield : ShieldItem) = let eventSuccessfulHack (ctx : IDiscordContext) target prize = DiscordMessageBuilder() - .WithContent($"{ctx.GetDiscordMember().Username} successfully hacked <@{target.DiscordId}> and took {prize} GoodBoyTokenz") + .WithAllowedMention(UserMention(target.DiscordId)) + .WithContent($"{ctx.GetDiscordMember().Username} successfully hacked {target.Name} and took {prize} GoodBoyTokenz") let getArsenalEmbed (player : PlayerData) = DiscordFollowupMessageBuilder()