Update oauth.md

This commit is contained in:
Eccentric 2023-12-10 01:04:06 +00:00 committed by GitHub
parent 99a4b8b40d
commit c6b9b4af66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,9 +2,9 @@
## Getting your OAuth Credentials
![Alt text](oauth1.png)
![image](https://github.com/ectrc/snow/assets/13946988/8eeab2bc-6056-4329-8c8a-40c908f399d9)
![Alt text](oauth2.png)
![image](https://github.com/ectrc/snow/assets/13946988/8bdfb31e-9669-47a5-a76e-80c42e01bb84)
Part of the file `config.ini` should look like this:
@ -24,7 +24,7 @@ Replace the values with your own, save and rebuild to apply the changes.
Add the correct redirects to your discord application:
![Alt text](redirects.png)
![image](https://github.com/ectrc/snow/assets/13946988/73fa37b8-3cc2-4b35-85bc-14e4121c6ebd)
This will be from the `config.ini` file:
@ -40,8 +40,8 @@ Make sure to add `/snow/discord` to the end of the redirect url.
Generate an invite link for the bot with the following permissions:
![Alt text](scopes1.png)
![Alt text](scopes2.png)
![image](https://github.com/ectrc/snow/assets/13946988/04364150-0a93-42a7-a1b8-743b25f49ee9)
![image](https://github.com/ectrc/snow/assets/13946988/90ad3429-ca22-43f6-b426-4d0a6aa83d7c)
The invite link should look like this: