diff --git a/configEditor.go b/configEditor.go index 3c6ee83..428f555 100644 --- a/configEditor.go +++ b/configEditor.go @@ -55,12 +55,14 @@ func registerEditorFrontend() { router.HandleFunc("/editor/vars.json", func(w http.ResponseWriter, r *http.Request) { if err := json.NewEncoder(w).Encode(struct { + DefaultBotScopes []string IRCBadges []string KnownEvents []*string TemplateFunctions []string TwitchClientID string Version string }{ + DefaultBotScopes: botDefaultScopes, IRCBadges: twitch.KnownBadges, KnownEvents: knownEvents, TemplateFunctions: tplFuncs.GetFuncNames(), diff --git a/src/generalConfig.vue b/src/generalConfig.vue index c43f780..534b4ff 100644 --- a/src/generalConfig.vue +++ b/src/generalConfig.vue @@ -268,6 +268,17 @@
+