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
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
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:
Name | Name in Slack |
---|---|
Secret key | Token |
Chat ID | Channel ID |
Content |