mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-04 05:09:17 -05:00
Update locations from where you get fields for .env
@ -9,7 +9,7 @@ Official Discord documentation on the process can be found [here](https://discor
|
|||||||
|
|
||||||
## Discord setup
|
## Discord setup
|
||||||
|
|
||||||
First create a discord application on [Discord](https://discord.com/developers/applications) and get it's `Application ID` and `Bot token`. These will be important later so put them somewhere safe.
|
First create a discord application on [Discord](https://discord.com/developers/applications).
|
||||||
|
|
||||||
## Template setup
|
## Template setup
|
||||||
|
|
||||||
@ -21,7 +21,10 @@ cd raylib-activities
|
|||||||
cp example.env .env
|
cp example.env .env
|
||||||
```
|
```
|
||||||
|
|
||||||
You will notice some fields in your `.env` file that has been newly created. You can fill these in with your `Application ID` for `CLIENT_ID` and your bot token for `CLIENT_SECRET`.
|
You will notice some fields in your `.env` file that has been newly created. We will now fill these out.
|
||||||
|
|
||||||
|
To get `VITE_DISCORD_CLIENT_ID` from `OAuth2 > CLIENT ID > Copy`
|
||||||
|
To get `DISCORD_CLIENT_SECRET` from `OAuth2 > CLIENT SECRET > Reset Secret`
|
||||||
|
|
||||||
You can now enter the `client` directory and set it up like so:
|
You can now enter the `client` directory and set it up like so:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user