Make config updates-compatible #12
Labels
No Label
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: profitroll/TelegramPoster#12
Loading…
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.