Remove weather handler config struct

This commit is contained in:
Ryan Cavicchioni 2022-09-08 01:01:02 -05:00
parent b419cfde69
commit 7ff6e74148
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -19,17 +19,12 @@ type (
HandlerConfig struct {
Reaction ReactionConfig `mapstructure:"reaction"`
Weather WeatherConfig `mapstructure:"weather"`
}
ReactionConfig struct {
Emojis []string
Channels []string
}
WeatherConfig struct {
Token string `mapstructure:"token"`
}
)
func NewConfig() Config {