diff --git a/Creating-Discord-Activities-with-raylib.md b/Creating-Discord-Activities-with-raylib.md index 5eccc6a..d512652 100644 --- a/Creating-Discord-Activities-with-raylib.md +++ b/Creating-Discord-Activities-with-raylib.md @@ -9,7 +9,7 @@ Official Discord documentation on the process can be found [here](https://discor ## 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 @@ -21,7 +21,10 @@ cd raylib-activities 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: