Merge remote-tracking branch 'refs/remotes/origin/prototype' into prototype

This commit is contained in:
Benjamin A. Shelton 2026-09-15 16:31:31 -06:00
commit 7b6ab7444d
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -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 {