Fixed parseConfig.go to include new Web section
This commit is contained in:
parent
068323e9b8
commit
a48d10a1cc
|
@ -162,7 +162,7 @@ AdminsEnabled = true
|
||||||
# SYNTAX: In order to specify multiple admins, repeat the Admins="username"
|
# SYNTAX: In order to specify multiple admins, repeat the Admins="username"
|
||||||
# line of code. Each line has one username, and an unlimited amount of usernames may
|
# line of code. Each line has one username, and an unlimited amount of usernames may
|
||||||
# be entered in this matter.
|
# be entered in this matter.
|
||||||
Admins = "Matt"
|
Admins = ""
|
||||||
|
|
||||||
# Make add an admin command?
|
# Make add an admin command?
|
||||||
# DEFAULT VALUE: false
|
# DEFAULT VALUE: false
|
||||||
|
|
|
@ -33,6 +33,12 @@ type DjConfig struct {
|
||||||
LowestVolume float32
|
LowestVolume float32
|
||||||
HighestVolume float32
|
HighestVolume float32
|
||||||
}
|
}
|
||||||
|
Web struct {
|
||||||
|
WebBrowser bool
|
||||||
|
WebPort int
|
||||||
|
WebAddress string
|
||||||
|
CustomWebPage bool
|
||||||
|
}
|
||||||
Aliases struct {
|
Aliases struct {
|
||||||
AddAlias string
|
AddAlias string
|
||||||
SkipAlias string
|
SkipAlias string
|
||||||
|
|
Reference in a new issue