Mention thing and show name

This commit is contained in:
Joseph Ferano 2022-06-03 22:36:25 +07:00
parent ba7b98d86f
commit fc7fa6bd82

View File

@ -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()