Skip to main content

Discord notification

1. Get bot token

In the Discord Developer Portal, create an application and open the Bot tab. Create or copy the bot token.

discord_token

2. Get channel ID

In Discord, right-click the channel where messages should be sent and choose Copy Channel ID.

discord_channel

3. Configure the provider in Casdoor

ProvidersAdd. Set Category to Notification, Type to Discord. Map:

CasdoorDiscord
Secret keyBot token
Chat IDChannel ID
Content(optional)

discord_provider