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