mirror of
https://github.com/Floriansylvain/GObot.git
synced 2026-08-19 11:43:16 +02:00
18 lines
230 B
Go
18 lines
230 B
Go
package config
|
|
|
|
var (
|
|
Token string
|
|
BotPrefix string
|
|
|
|
config *Config
|
|
)
|
|
|
|
type Config struct {
|
|
TOKEN string `json:"TOKEN"`
|
|
BOT_PREFIX string `json:"BOT_PREFIX"`
|
|
}
|
|
|
|
func LoadConfig() error {
|
|
fmt.printLn("Loading config file")
|
|
}
|