Update Discord Application
parent
d2a1cf7532
commit
8d9479ded0
@ -25,3 +25,28 @@ You can set a name, description and image if you please, but this is not require
|
||||
Ensure your **Installation Context** choices are in this format:
|
||||
- [ ] User Install
|
||||
- [x] Guild Install
|
||||
|
||||
Take note of the **Install Link** URL, as it's required for the project environment variables, which are explained in the [Environment Variables Wiki](https://gitea.cor.bz/corbz/PYRSS-Website/wiki/Environment-Variables).
|
||||
|
||||
Navigate to the **Default Installation Settings** fields, where you will need to specify the scopes and permissions that the Discord Application will request when joining a Discord Server.
|
||||
|
||||
It will require the following scopes:
|
||||
- application.commands
|
||||
- bot
|
||||
|
||||
And the following permissions for the PYRSS-BOT bot to function:
|
||||
- Embed Links
|
||||
- Send Messages
|
||||
- Use Slash Commands
|
||||
- View Channels
|
||||
|
||||
Press the "Save" button to keep your changes!
|
||||
|
||||
### OAuth2
|
||||
|
||||
Take note of the following fields, as they are required for the project environment variables, which are explained in the [Environment Variables Wiki](https://gitea.cor.bz/corbz/PYRSS-Website/wiki/Environment-Variables).
|
||||
- Client ID
|
||||
- Client Secret
|
||||
|
||||
Navigate to the **Redirects** section and add a new value. You will need to format this value using your endpoint for accessing the PYRSS web interface, if you only intend to access this locally then you could use something like `http://localhost:8000/oauth2/login/redirect`, otherwise you will need a publicly accessible endpoint like `https://mydomain.com/oauth2/login/redirect`. Keep track of whether you require `http://` or `https://`. Keep your specified value for the project environment variables, which are explained in the [Environment Variables Wiki](https://gitea.cor.bz/corbz/PYRSS-Website/wiki/Environment-Variables).
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user