Adding check to only allow a list of categories

This commit is contained in:
Nanobyte
2020-09-09 16:40:13 +02:00
parent 6fe8dfc188
commit dec0971c14
3 changed files with 12 additions and 1 deletions

View File

@@ -19,5 +19,6 @@
"privateDBSchema": "./databases/_private.db.sql",
"mode": "development",
"readOnly": false,
"webhooks": []
"webhooks": [],
"categoryList": ["sponsor", "intro", "outro", "interaction", "selfpromo", "music_offtopic"] // List of supported categories any other category will be rejected
}