Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Fix: outdated doccumentation #49

Merged
merged 5 commits into from
Nov 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion docs/guides/dev_environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down