sort settings.json

This commit is contained in:
Alex Dunn 2020-06-03 19:44:59 -07:00
parent c91e5f5e1e
commit d28d6e7635
2 changed files with 24 additions and 25 deletions

View File

@ -23,24 +23,23 @@ type Settings struct {
cmdLineKey string // stream key from the command line
// Saved settings
StreamStats bool
MaxMessageCount int
TitleLength int // maximum length of the title that can be set with the /playing
PageTitle string // primary value for the page <title> element
AdminPassword string
RegenAdminPass bool // regenerate admin password on start?
StreamKey string
ListenAddress string
ApprovedEmotes []string // list of channels that have been approved for emote use. Global emotes are always "approved".
TwitchClientID string // client id from twitch developers portal
SessionKey string // key for session data
Bans []BanInfo
LogLevel common.LogLevel
ListenAddress string
LogFile string
LogLevel common.LogLevel
MaxMessageCount int
NewPin bool // Auto generate a new pin on start. Overwrites RoomAccessPin if set.
PageTitle string // primary value for the page <title> element
RegenAdminPass bool // regenerate admin password on start?
RoomAccess AccessMode
RoomAccessPin string // The current pin
NewPin bool // Auto generate a new pin on start. Overwrites RoomAccessPin if set.
SessionKey string // key for session data
StreamKey string
StreamStats bool
TitleLength int // maximum length of the title that can be set with the /playing
TwitchClientID string // client id from twitch developers portal
WrappedEmotesOnly bool // only allow "wrapped" emotes. eg :Kappa: and [Kappa] but not Kappa
// Rate limiting stuff, in seconds

View File

@ -1,20 +1,20 @@
{
"MaxMessageCount": 300,
"PageTitle": "Movie Night",
"TitleLength": 50,
"AdminPassword": "",
"RegenAdminPass": true,
"Bans": [],
"StreamKey": "ALongStreamKey",
"ListenAddress": ":8089",
"ApprovedEmotes": null,
"LogLevel": "debug",
"Bans": [],
"ListenAddress": ":8089",
"LogFile": "thelog.log",
"RateLimitChat": 1,
"RateLimitNick": 300,
"RateLimitColor": 60,
"RateLimitAuth": 5,
"RateLimitDuplicate": 30,
"LogLevel": "debug",
"MaxMessageCount": 300,
"NoCache": false,
"PageTitle": "Movie Night",
"RateLimitAuth": 5,
"RateLimitChat": 1,
"RateLimitColor": 60,
"RateLimitDuplicate": 30,
"RateLimitNick": 300,
"RegenAdminPass": true,
"StreamKey": "ALongStreamKey",
"TitleLength": 50,
"WrappedEmotesOnly": false
}