mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
Alerting: notifiers/discord: Fix group mention documentation (#51071)
This change updates the UI to document the correct Group Mention format for Discord Contact Points. The Discord API documentation (https://discord.com/developers/docs/reference#message-formatting) uses `<@&ID>` for Group Mentions, not the bare `@` shown in the alerting UI. Testing on 8.5 shows that bare `@` isn't working there.
This commit is contained in:
parent
f4f31b40fd
commit
6f2c0d467f
@ -34,7 +34,7 @@ func init() {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
Label: "Message Content",
|
Label: "Message Content",
|
||||||
Description: "Mention a group using @ or a user using <@ID> when notifying in a channel",
|
Description: "Mention a group using <@&ID> or a user using <@ID> when notifying in a channel",
|
||||||
Element: alerting.ElementTypeInput,
|
Element: alerting.ElementTypeInput,
|
||||||
InputType: alerting.InputTypeText,
|
InputType: alerting.InputTypeText,
|
||||||
PropertyName: "content",
|
PropertyName: "content",
|
||||||
|
Loading…
Reference in New Issue
Block a user