nonchris / discord-fury

Customizable discord bot for voice channels on demand and breakout rooms
GNU General Public License v3.0
12 stars 7 forks source link

Restructure core #32

Closed nonchris closed 3 years ago

nonchris commented 3 years ago

Remove the config.py module, replace it with module that reads environment variables.

log_setup.py
A new logging setup which is way better than the old cheap logging.
It contains two components one for writing to file and one for terminal outputs.

environment.py
Reads environment variables and uses them for starting the bot.
The system is written in a way that it can fall back to default parameters if no env variables are set.
-> e.g. it's possible to change the prefix, but you won't need to if you don't need it.

Get rid of the reaction if the owner gets mentioned.
It was funny when I started, but it now feels stupid...

Concision

This is a preparation for the main rewrite of the SQL code.