Limit mute action type to specific categories

This commit is contained in:
Ajay Ramachandran
2021-09-04 00:33:37 -04:00
parent 6f29b807c5
commit 1823a91d54
3 changed files with 41 additions and 2 deletions

View File

@@ -20,6 +20,16 @@ addDefaults(config, {
readOnly: false,
webhooks: [],
categoryList: ["sponsor", "selfpromo", "interaction", "intro", "outro", "preview", "music_offtopic", "poi_highlight"],
categorySupport: {
sponsor: ["skip", "mute"],
selfpromo: ["skip", "mute"],
interaction: ["skip", "mute"],
intro: ["skip"],
outro: ["skip"],
preview: ["skip"],
music_offtopic: ["skip"],
poi_highlight: ["skip"],
},
maxNumberOfActiveWarnings: 1,
hoursAfterWarningExpires: 24,
adminUserID: "",