Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { //Telegram stuff TelegramTokenBot string ChatID int64 //List of subreddits Sources []string //Video related config VideoDownload bool DownloadPath string }
Config is the bot configuration representation, read from a configuration file.
func ReadConfig ¶
ReadConfig loads the values from the config file
Click to show internal directories.
Click to hide internal directories.