This folder (not branche, because I forgot to make a branche) is used for the rewrite of the Discord Bot hosted in this project. In this particular case, even though it is not entirely visible in the git history, this is the third rewrite since starting. This rewrite uses actual education knowledge as opposed to still learning how to program. The application of these ideas might not be perfect.
When first setting up either the main or testing setup, config files will be generated.
Whenever a config file is generated, the application closes to let you alter some of the default values.
Any values indicated with null in the files inside the config/ folder are to be configured.
Others are default values and may be left alone. Without configuring these values, the application will not start.
At least two rounds of configuration loading are performed (global configuration, and then other configuration like tokens and logger).
python main.py
This is the main bot cycle which will use proper database implementations and the token from config/tokens.json.
python test.py
This is the testing bot cycle which injects testing database and configurations into the bot, using the login token found in config/test_token.json.
Do note however, that it uses the same value for GLOBAL_ADMIN_SERVER_ID as found in config/global.json as main.py.
Contains autogenerated json files for settings.
Contains code for generating and maintaining configuration files.
Contains interfaces as well as database implementations required by other program components.
Contains the discord bot user as well as the mounted command cogs as well as the logger.
Random helper utilities, like easy file read and writing, or Exceptions and turning messages into embeds.
Procedural Instruction Sequence String (PISS); this folder contains the compiler, executor as well as testing tools for related strings. Still requires heavy development. Might be turned into individual repository to allow for usage in other projects, at which point this will become a submodule that will be modified.
Project was a mess.
I wanted to expand and modularize some of the old systems which weren't always working to expectations.
Thank you for understanding.