Roles not being mentioned on DiscordNot An Issue

instead of @role it sents @&role

Thanks for the report, will try to look as able.

Thank you

Hey, sorry for the delay. Are you sure the role ID is a valid role ID? I've tested and can't reproduce this.

I just checked again, it seems that am having different issue, the role is not exactly being mentioned, but its the ID that is being mentined.

here is some detailed information:

 

My config

{
  "Permission required to trigger keywords": false,
  "Include original message with notification": true,
  "Match only exact keywords": true,
  "Auto-reply for triggered keywords": true,
  "Notify configured players in chat": false,
  "IDs to notify in chat": [
    "PLAYER_ID",
    "PLAYER_ID_2"
  ],
  "Notify configured group in chat": true,
  "Groups to notify in chat": [
    "admin",
    "moderator"
  ],
  "Notify using GUI Announcements": false,
  "Banner color to use for GUI (RGBA or color name)": "0.1 0.1 0.1 0.7",
  "Text color to use for GUI (RGB or color name)": "1 1 1",
  "Notify in Discord channel": true,
  "Roles to mention on Discord": [
    "924385234970087454",  \\checked the ID 3 times just to be sure
    "Admin [Game]"               \\Just in case it needs the role name
  ],
  "Users to mention on Discord": [
    ""
  ],
  "Discord webhook URL": "=Deducted=",
  "Keywords to listen for in chat": [
    "ThisIsKeywordsTest",
    "moderator"
  ]
}

This is a screen shot from my discord

4rzm3Ds85lmbdsH.png

Server console output:

[Keywords] Keyword(s) triggered by ELoyros (76561############)! thisiskeywordstest
[Keywords] DEBUG: {"content": "ELoyros (76561############) | ThisIsKeywordsTest <@924385234970087454> <@Admin [Game]>"}
[Keywords] DEBUG: https://discord.com/api/webhooks/  deducted

 

In-Game screenshot:

jBl6CyrNel1oYBb.png

It would be the ID, not the name, but I'm pretty sure Discord would show it that way if the ID is not a valid role. I'm looking into something about "allowed_mentions" though to see if that resolves it.

Merged post

Tested today and the roles I tested were mentioned without issue using the current version.

Locked automatically