-
Notifications
You must be signed in to change notification settings - Fork 0
How to get all required data for settings
Pavel edited this page Feb 16, 2022
·
12 revisions
This guide also covers one important thing: how to correctly bind your Discord, CCP app and Bot together. In short:
- Create Discord group and remember its
Guild Id
(will be put into settings.json) - Create Discord bot on their web site, add it to your Discord group. Remember
Client Id
andToken
(will be put into settings.json) - Create CCP app on their web site and remember
Client ID
andSecret Key
(will be put into settings.json)
Read below for the detailed explanation.
- Enable Developer Mode on Desktop Client: https://discordia.me/developer-mode
- Right click on any channel or group icon and select Copy ID to copy the ID into clipboard. Then you can paste it into config.
-
Go to settings and create new application
-
Go to General Information page remember Client Secret and Client Id value will be put into settings.json
-
Add redirect on page based on your
ip:port
ordomain
with backward/discordcallback
- Example is
http://example.com/discordcallback
orhttp://1.1.1.1:5000/discordcallback
- Example is
-
Go to Bot page and remember Token value will be put into settings.json
-
Enable all intents
-
Add
Discord bot
to you group using this link:https://discord.com/api/oauth2/authorize?client_id=YOUR_BOT_CLIENT_ID&permissions=8&scope=bot%20applications.commands
. ReplaceYOUR_BOT_CLIENT_ID
by your Discord appClient ID
- IMPORTANT! Make sure bot on top of the common member roles in the Discord group role settings window. The order of roles in the Discord settings window is important! Role can only make changes to the roles which are positioned below it.