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 { HandlerConfig struct {
Reaction ReactionConfig `mapstructure:"reaction"` Reaction ReactionConfig `mapstructure:"reaction"`
Weather WeatherConfig `mapstructure:"weather"`
} }
ReactionConfig struct { ReactionConfig struct {
Emojis []string Emojis []string
Channels []string Channels []string
} }
WeatherConfig struct {
Token string `mapstructure:"token"`
}
) )
func NewConfig() Config { func NewConfig() Config {