Make config updates-compatible #12
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
File
config.json
should be replaced byconfig_example.json
or something like that, and admin needs to copy it intoconfig.json
before using the bot. This should enable usinggit pull
as an updater option.There's also some room for improvements in terms of comparability.
config.json
should be checked on run to make sure all the new keys are on their places and when not update them to their default values. Or every key request byconfigGet()
should also check default config and return value from it if key is not in production config.