#Embed message

1 messages · Page 1 of 1 (latest)

vocal falcon
#

Hello, please tell me how you can turn a standard message about linking an account sent to discord into private messages into an embed message

#
Alerts:
  - Trigger: AccountLinkedEvent
    Channel: lobby
    Conditions:
      - "(#discordsrv.accountLinkManager.getDiscordId(player.uniqueId))"
    WebHook:
      Enabled: true
      AvatarUrl: "{botavatarurl}"
      Name: "{botname}"
    Embed:
      Enabled: true
      Title: "Player's permissions changed"
      Color: "#00ff00"
      Description: "Linked {displayname}"
#

a message is sent to the chat server when linking an account, and I can't figure out how to do it in private messages to the player who linked it

#

plugins DiscordSRV

vocal falcon
#

  - Trigger: AccountLinkedEvent
    Channel: lobby
    Conditions:
      - "(#discordsrv.accountLinkManager.getDiscordId(player.uniqueId))"
    WebHook:
      Enabled: true
      AvatarUrl: "{botavatarurl}"
      Name: "{botname}"
    Embed:
      Enabled: true
      Author:
        Name: "Успех! :white_check_mark:"
        ImageUrl: "{embedavatarurl}"
      Color: "#00ff00"
      Description: "Linked '${#event.getPlayer().getName()}'"
      Timestamp: true

I came to this conclusion. but this message is sent to the lobby chat, but how do I send this message to the user who linked the account in private messages?

raven ferry
vocal falcon
#

And how? I tried

#

gives it away

#

I need exactly an embed message

#

@raven ferrycan you help me, I've been sitting for 5 hours trying to do something

raven ferry