It would be simpler if the user could just define all settings in a python file.
botconf
- __init__.py
- secrets.py
# __init__.py
import secrets
COMMAND_PREFIX = "!"
GREETINGS = "hello|hi|hey"
COMMANDS = {
"help": { type: "static", content: "..." },
"echo": { type: "dynamic", function: command_echo }
}
def command_echo():
...
It would be simpler if the user could just define all settings in a python file.