Add battle announces to channel
Channel ID is configured in fw_zookeeper.yaml.
This commit is contained in:
9
internal/config/announces.go
Normal file
9
internal/config/announces.go
Normal file
@@ -0,0 +1,9 @@
|
||||
// Fantasy World Zookeeper Bot
|
||||
// Copyright (c) 2018 Vladimir "fat0troll" Hodakov
|
||||
|
||||
package config
|
||||
|
||||
// Announces is a struct which handles announces configuration
|
||||
type Announces struct {
|
||||
ChannelID int64 `yaml:"channel_id"`
|
||||
}
|
@@ -6,5 +6,6 @@ package config
|
||||
// Struct is a main configuration structure that holds all other
|
||||
// structs within.
|
||||
type Struct struct {
|
||||
Telegram Telegram `yaml:"telegram"`
|
||||
Telegram Telegram `yaml:"telegram"`
|
||||
Announces Announces `yaml:"announces"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user