Files
GObot/config/config.go
T
2024-04-24 14:19:11 +02:00

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")
}