From 6379cb5a4e66fc3abb867de5c59fb201b611c911 Mon Sep 17 00:00:00 2001 From: Aviion Gibbs Date: Fri, 10 Nov 2023 17:47:24 +1030 Subject: [PATCH 1/5] Fix: outdated doccumentation --- docs/guides/dev_environment.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/guides/dev_environment.md b/docs/guides/dev_environment.md index a9e8e8a..1b70d05 100644 --- a/docs/guides/dev_environment.md +++ b/docs/guides/dev_environment.md @@ -40,8 +40,11 @@ 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 at the top of the page `L5` you should see "discordAuthToken" go ahead and enter your discord *bot* token here wrapped with quotation marks + +If you're receiving an error where its exclaiming `Value "" is not snowflake.` The easiest fix at the moment is to open `confic.jsonc` locate "directMessageLogging" enter *your* discord ID inside of the array then set "verboseLevel" 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`. From 61d89204a3b58df6c004c8892468b239d5ca9677 Mon Sep 17 00:00:00 2001 From: Xanthus Date: Sat, 11 Nov 2023 02:29:20 +1030 Subject: [PATCH 2/5] Update docs/guides/dev_environment.md Co-authored-by: Cpt-Dingus <100243410+Cpt-Dingus@users.noreply.github.com> --- docs/guides/dev_environment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/dev_environment.md b/docs/guides/dev_environment.md index 1b70d05..4ea79fc 100644 --- a/docs/guides/dev_environment.md +++ b/docs/guides/dev_environment.md @@ -42,7 +42,7 @@ make prep 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 `secrets.jsonc` and at the top of the page `L5` you should see "discordAuthToken" go ahead and enter your discord *bot* token here wrapped with quotation marks +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 its exclaiming `Value "" is not snowflake.` The easiest fix at the moment is to open `confic.jsonc` locate "directMessageLogging" enter *your* discord ID inside of the array then set "verboseLevel" to `0` Read through the rest of the config file, and edit as you see fit. From 9a76cbb4eb573ca62c8f86f4b1648e577f231c47 Mon Sep 17 00:00:00 2001 From: Xanthus Date: Sat, 11 Nov 2023 02:29:25 +1030 Subject: [PATCH 3/5] Update docs/guides/dev_environment.md Co-authored-by: Cpt-Dingus <100243410+Cpt-Dingus@users.noreply.github.com> --- docs/guides/dev_environment.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/guides/dev_environment.md b/docs/guides/dev_environment.md index 4ea79fc..b9109ad 100644 --- a/docs/guides/dev_environment.md +++ b/docs/guides/dev_environment.md @@ -44,7 +44,8 @@ Locate `secrets.default.jsonc` and create a copy of it named `secrets.jsonc` in 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 its exclaiming `Value "" is not snowflake.` The easiest fix at the moment is to open `confic.jsonc` locate "directMessageLogging" enter *your* discord ID inside of the array then set "verboseLevel" to `0` Read through the rest of the config file, and edit as you see fit. +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 `confic.jsonc`. To fix it, fill your discord ID in to use for DM logging. Otherwise set "verboseLevel" 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`. From f8f820b4a864769353599ecf38853dc247618b94 Mon Sep 17 00:00:00 2001 From: Xanthus Date: Sat, 11 Nov 2023 08:06:25 +1030 Subject: [PATCH 4/5] Update docs/guides/dev_environment.md Co-authored-by: Cpt-Dingus <100243410+Cpt-Dingus@users.noreply.github.com> --- docs/guides/dev_environment.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/guides/dev_environment.md b/docs/guides/dev_environment.md index b9109ad..213e215 100644 --- a/docs/guides/dev_environment.md +++ b/docs/guides/dev_environment.md @@ -42,7 +42,8 @@ make prep 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 `secrets.jsonc` and fill the"discordAuthToken" key near the top of the page with your discord *bot* token +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 `confic.jsonc`. To fix it, fill your discord ID in to use for DM logging. Otherwise set "verboseLevel" to `0` Read through the rest of the config file, and edit as you see fit. From 06da4382fc6c1b937384b7b5f535ab1ad395d590 Mon Sep 17 00:00:00 2001 From: Xanthus Date: Sat, 11 Nov 2023 08:06:42 +1030 Subject: [PATCH 5/5] Update docs/guides/dev_environment.md Co-authored-by: Cpt-Dingus <100243410+Cpt-Dingus@users.noreply.github.com> --- docs/guides/dev_environment.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/guides/dev_environment.md b/docs/guides/dev_environment.md index 213e215..936a820 100644 --- a/docs/guides/dev_environment.md +++ b/docs/guides/dev_environment.md @@ -45,7 +45,8 @@ Locate `secrets.default.jsonc` and create a copy of it named `secrets.jsonc` in 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 `confic.jsonc`. To fix it, fill your discord ID in to use for DM logging. Otherwise set "verboseLevel" to `0` +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