Mention target user

This commit is contained in:
Joseph Ferano 2022-01-09 04:19:32 +07:00
parent 043ed06572
commit ff5cd8b28a

View File

@ -221,9 +221,8 @@ let handleButtonEvent (client : DiscordClient) (event : ComponentInteractionCrea
|> Async.AwaitTask
let builder = DiscordMessageBuilder()
// builder..Add(UserMention(target))
builder.WithContent($"{event.User.Username} has sent a hack to ") |> ignore
let battleChannel = (event.Guild.GetChannel(927444uL))
builder.WithContent($"{event.User.Username} has sent a hack to <@{target}>") |> ignore
let battleChannel = (event.Guild.GetChannel(927449884204867664uL))
do! battleChannel.SendMessageAsync(builder)
|> Async.AwaitTask
|> Async.Ignore