Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandSettings ¶
type Config ¶
type Config struct { Server struct { HOST string `yaml:"host"` PROTOCOL string `yaml:"protocol"` PORT string `yaml:"port"` } `yaml:"server"` Bot struct { SAMPLE_NAME string `yaml:"sample_name"` USER_EMAIL string `yaml:"user_email"` USERNAME string `yaml:"username"` USER_FIRST string `yaml:"user_first"` USER_LAST string `yaml:"user_last"` USER_PASSWORD string `yaml:"user_password"` TEAM_NAME string `yaml:"team_name"` LOG_NAME string `yaml:"log_name"` SETTINGS_URL string `yaml:"settings_url"` } `yaml:"bot"` Cache struct { CONN_STR string `yaml:"connection_string"` } `yaml:"cache"` }
type Settings ¶
type Settings struct {
// contains filtered or unexported fields
}
func NewSettings ¶
func (*Settings) GetCommandTrigger ¶
func (*Settings) GetInsults ¶
func (*Settings) GetPraises ¶
func (*Settings) GetReactions ¶
func (*Settings) LoadSettings ¶
Click to show internal directories.
Click to hide internal directories.