diff --git a/bot/bot.go b/bot/bot.go index b19b52f..4806927 100644 --- a/bot/bot.go +++ b/bot/bot.go @@ -139,6 +139,10 @@ func loadConfig() { } } + log.WithField("filename", viper.ConfigFileUsed()).Info( + "loaded configuration file", + ) + err := viper.Unmarshal(&C) if err != nil { log.Fatalf("unable to decode into struct: %v", err)