Remove weather handler config struct
This commit is contained in:
parent
b419cfde69
commit
7ff6e74148
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user