Skip to content
Snippets Groups Projects
Commit bbb968e2 authored by Reviath's avatar Reviath
Browse files

Fixed Database.Database on config package.

parent 2bf4be01
No related branches found
No related tags found
No related merge requests found
Pipeline #695 passed
......@@ -36,7 +36,7 @@ type configStruct struct {
}
// Database stuff from remilia.conf
Database struct {
DatabaseName string `json:"Database"` // DatabaseName from config file
Database string `json:"Database"` // DatabaseName from config file
Host string `json:"Host"` // Host from config file
User string `json:"User"` // User from config file
Password string `json:"Password"` // Password from config file
......@@ -66,7 +66,7 @@ func ReadConfig() error {
BotPrefix = config.Discord.BotPrefix
Presence = config.Discord.Presence
Owner = config.Discord.Owner
Database = config.Database.DatabaseName
Database = config.Database.Database
Host = config.Database.Host
User = config.Database.User
Password = config.Database.Password
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment