make it easier to be deployed
I've done some basic code review. Looks pretty good, easy to read code and few dependencies. Here are the things I think will be nice to change so is easier to deploy it and maintain it:
-
add a setup.py or pyproject.toml to make it easier to install -
have a configuration file that can be passed as parameter when executing the bot -
make the database path and name configurable -
could we put the initialization of the global variables into a function? -
bot.init() is being called twice, from bot.py and init.py. Could we remove the invocation from bot.py? -
make configurable the download path (#6 (closed))
What do you think about them?
Edited by n0toose