diff --git a/docs/guides/dev_environment.md b/docs/guides/dev_environment.md index a9e8e8a..936a820 100644 --- a/docs/guides/dev_environment.md +++ b/docs/guides/dev_environment.md @@ -40,8 +40,14 @@ make prep # Filling out the config Locate `config.default.jsonc`, and create a copy of it named `config.jsonc` in the same folder. +Locate `secrets.default.jsonc` and create a copy of it named `secrets.jsonc` in the same folder. -Open the newly created config file, and copy the newly created auth token into the "authToken" key at the top of the json. Read through the rest of the config file, and edit as you see fit. +Open `secrets.jsonc` and fill the "discordAuthToken" key near the top of the page with your discord bot token + + +If you're receiving an error where the bot spams `Value "" is not snowflake`, the most probable cause is your discord ID not being set in `config.jsonc`. To fix it, fill your discord ID in to use for DM logging. Otherwise set "verboseLevel" of "directMessageLogging" to `0` . + +Read through the rest of the config file, and edit as you see fit. ## Editing the code VSCode is the supported editor for this project. Other editors may be used, but VSCode is the recommended editor. The source code for the bot is stored in `src/`, with all module code stored in `src/modules`, and the heart of the bot and utilities used for development in `src/core`.