Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

Add support for alternate token paths for debugging#345

Merged
notsniped merged 2 commits intomainfrom
add-alt-token-location-support
Mar 30, 2024
Merged

Add support for alternate token paths for debugging#345
notsniped merged 2 commits intomainfrom
add-alt-token-location-support

Conversation

@notsniped
Copy link
Member

This helps in debugging the bot client on programs like VS Code by allowing tokens to be easily imported, and minimizes the risk of accidentally leaking bot tokens on Git.

@notsniped notsniped added enhancement New feature or request priority:high area:storage Changes made to the systems required for storing, modifying and accessing of user data. area:main Changes to the main functioning code type:maintenance Changes to the files needed to config/debug/maintain the client labels Mar 30, 2024
@notsniped notsniped self-assigned this Mar 30, 2024
@notsniped
Copy link
Member Author

I almost got an idea for simply moving runtimeconfig.json out of the project dir, and having it auto-generate in the bot's current working directory. But if I think about it, its not a good idea because it leads to import issues with the internal Python libs.

@notsniped notsniped merged commit 66f2a40 into main Mar 30, 2024
@notsniped notsniped deleted the add-alt-token-location-support branch March 30, 2024 09:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area:main Changes to the main functioning code area:storage Changes made to the systems required for storing, modifying and accessing of user data. enhancement New feature or request priority:high size/S type:maintenance Changes to the files needed to config/debug/maintain the client

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant