feat(notifications): improve discord notifications (#1102)

* feat: improve discord notifications

Added a field in the general notification settings to allow a role to be mentioned in the webhook
message via discord notification agent

* feat: add discord role id notification - locales
This commit is contained in:
Guillaume ARNOUX
2024-11-15 18:38:23 +01:00
committed by GitHub
parent ba84212e68
commit 5c24e79b1d
7 changed files with 45 additions and 1 deletions

View File

@@ -170,6 +170,7 @@ export interface NotificationAgentDiscord extends NotificationAgentConfig {
botUsername?: string;
botAvatarUrl?: string;
webhookUrl: string;
webhookRoleId?: string;
enableMentions: boolean;
};
}
@@ -394,6 +395,7 @@ class Settings {
types: 0,
options: {
webhookUrl: '',
webhookRoleId: '',
enableMentions: true,
},
},