Skip to main content

Discord

Step 1: Get Token from Discord

First, sign up for the Discord Developer portal, create a new application, navigate to the “Bot” tab to configure it.

Copy your Bot token

discord_token

Step 2: Get Channel ID

Copy the Channel ID of the channel you want to post a message to. You can grab the Channel ID by right clicking a channel and selecting Copy Channel ID

discord_channel

Step 3: Configure Casdoor Discord Provider

There are three required fields: App Key, Content, and Chat ID. The relationship between the fields and Discord is as follows:

NameName in Slack
Secret keyToken
Chat IDChannel ID
Content

discord_provider