Mention target user
This commit is contained in:
parent
043ed06572
commit
ff5cd8b28a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user