File config.json should be replaced by config_example.json or something like that, and admin needs to copy it into config.json before using the bot. This should enable using git 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 by configGet() should also check default config and return value from it if key is not in production config.
File `config.json` should be replaced by `config_example.json` or something like that, and admin needs to copy it into `config.json` before using the bot. This should enable using `git 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 by `configGet()` should also check default config and return value from it if key is not in production config.
profitroll
self-assigned this 2023-03-15 21:47:11 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
File
config.jsonshould be replaced byconfig_example.jsonor something like that, and admin needs to copy it intoconfig.jsonbefore using the bot. This should enable usinggit pullas an updater option.There's also some room for improvements in terms of comparability.
config.jsonshould 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.