Discontinue config.yml file in favor of class mapping
All checks were successful
continuous-integration/drone/push Build is passing

The configuration entries are now mapped in an enum that transfers very well to SnakeYaml's YAML parsing. This is better because we no longer run the risk of entries getting mistyped in classes, or renamed without replacing them everywhere...
This commit is contained in:
2022-11-22 23:40:44 +01:00
parent ae6647a51e
commit 6480795368
3 changed files with 34 additions and 15 deletions

View File

@@ -1,4 +0,0 @@
bot-token: 'MTAxMjUzNzI5MTMwODI4NjAyMw.GWeNuh.00000000000000000000000000000000000000'
bot-owner-id: 000000000000000000
bot-color: 'PINK'
heartbeat-link: 'https://your-heartbeat-api.com/api/push/apikey?status=up&msg=OK&ping='