Added option to force a whitelist check before allowing skipping.

This commit is contained in:
Ajay Ramachandran
2020-04-26 23:14:18 -04:00
parent 797fbf563b
commit fbafb723cb
5 changed files with 57 additions and 27 deletions

View File

@@ -8,6 +8,7 @@ interface SBConfig {
userID: string,
sponsorTimes: SBMap<string, any>,
whitelistedChannels: string[],
forceChannelCheck: boolean,
startSponsorKeybind: string,
submitKeybind: string,
minutesSaved: number,
@@ -107,6 +108,7 @@ var Config: SBObject = {
userID: null,
sponsorTimes: new SBMap("sponsorTimes"),
whitelistedChannels: [],
forceChannelCheck: false,
startSponsorKeybind: ";",
submitKeybind: "'",
minutesSaved: 0,