From beea8181a12fe63856897647b1c8a189105dee4f Mon Sep 17 00:00:00 2001 From: NDevTK <31563761+NDevTK@users.noreply.github.com> Date: Fri, 26 Jun 2020 19:19:51 +0100 Subject: [PATCH] Added config option --- src/config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/config.ts b/src/config.ts index 634947a9..066e7fe0 100644 --- a/src/config.ts +++ b/src/config.ts @@ -5,6 +5,7 @@ import Utils from "./utils"; const utils = new Utils(); interface SBConfig { + timeWithSkips: boolean, userID: string, sponsorTimes: SBMap, whitelistedChannels: string[], @@ -123,6 +124,7 @@ var Config: SBObject = { */ configListeners: [], defaults: { + timeWithSkips: false, userID: null, sponsorTimes: new SBMap("sponsorTimes"), whitelistedChannels: [], @@ -406,4 +408,4 @@ function addDefaults() { // Sync config setupConfig(); -export default Config; \ No newline at end of file +export default Config;