mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-11 14:07:09 +03:00
Limit mute action type to specific categories
This commit is contained in:
@@ -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: "",
|
||||
|
||||
Reference in New Issue
Block a user