ItsDrike / CommandBot

Discord Bot which can handle most administrative tasks for servers.
Other
0 stars 0 forks source link

Custom config to override the default #6

Closed ItsDrike closed 4 years ago

ItsDrike commented 4 years ago

Rename config.yaml to default_config.yaml. Use config.yaml as higher-priority config, so values in this config will be preferred, but if there is no value for something, it will fall back to default_config.yaml

This will be useful when changes are made to config.yaml (now default_config.yaml) there won't be issues with overriding the changes to config made by the user.

ItsDrike commented 4 years ago

This will be added in the next commit