From 90fc8cf9308344047114f68fcb94d24ee37834c6 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Shelton" Date: Sat, 12 Sep 2026 15:41:20 -0600 Subject: [PATCH] Keys should be lowercase. --- internal/settings/settings.go | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/internal/settings/settings.go b/internal/settings/settings.go index 2caa9c6..fc416ba 100644 --- a/internal/settings/settings.go +++ b/internal/settings/settings.go @@ -11,18 +11,16 @@ import ( ) type Settings struct { - API API - DailyScripture DailyScripture `toml:"daily_scripture"` - System System - Translations Translations - Chat Chat + API *API `toml:"api"` + DailyScripture *DailyScripture `toml:"daily_scripture"` + Translations *Translations `toml:"translations"` + System *System `toml:"system"` + Service *Service `toml:"service"` + Chat *Chat `toml:"chat"` } type API struct { - BaseURL string `toml:"base_url"` - Schedule string - Rotation string - User string + BaseURL string `toml:"base_url"` } type Chat struct { @@ -30,10 +28,8 @@ type Chat struct { } type DailyScripture struct { - UserSubmitted bool `toml:"user_submitted"` - Schedule string - Rotation string - User string + UserSubmitted bool `toml:"user_submitted"` + Schedule string `toml:"schedule"` } type System struct { @@ -41,14 +37,14 @@ type System struct { } type Service struct { - Method string - Webhook *Webhook + Method string `toml:"method"` + Webhook *Webhook `toml:"webhook"` } type Webhook struct { - URI string - Port int - Host string + URI string `toml:"uri"` + Port int `toml:"port"` + Host string `toml:"host"` } type Translations struct {