Skip to main content
Version: v1.39.0

Discord Notifier

The discord notifier allows to get notified on your favorite discord channel when an instance of go-feature-flag is detecting changes in the configuration of your flags.

Discord Notification

Configure Discord Notifications

  1. Connect to your discord account and go on the channel where you want to send the notifications.

  2. Go on the settings menu of your channel.

    Discord Config

  3. Under your channel’s settings, go to the "Integrations" section and create a new webhook. To create it, please follow the official documentation.

  4. Copy the webhook URL

    Discord WebHook

  5. Now you can configure your notifier

err := ffclient.Init(ffclient.Config
{
// ...
Notifiers: []notifier.Notifier{
&discordnotifier.Notifier{
DiscordWebhookURL: "https://discord.com/api/webhooks/yyyy/xxxxxxx",
},
},
})

Configuration fields

FieldDescription
DiscordWebhookURLThe complete URL of your discord webhook.

Get the latest GO Feature Flag updates