package
Version:
v0.0.0-...-373ed42
Opens a new window with list of versions in this module.
Published: Jan 25, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
¶
Repos as read from the config file, a map of GitHub repositories full names
(e.g. ccrama/Slide) to Discord channel IDs.
Load the config file located at config.json into the variables exposed by
this package.
type APITokens struct {
LastFM string `json:"last.fm"`
Discord string `json:"discord"`
}
APITokens used to authenticate the bot with various services.
Tokens is the set of APITokens read from the config file.
Config is the top level structure of the config.json file.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.