Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bot ¶
type Bot struct {
// contains filtered or unexported fields
}
Bot is core struct for a bot.
func NewBotWithConfig ¶
NewBot returns initialized Bot from Config.
type Config ¶
type Config struct { engine.Engine *command.CommandSet Logger log.Logger HTTPClient *http.Client SlackToken string MaxRunningCommands int }
Config is a config struct for bot.
func (Config) GetCommandSet ¶
func (c Config) GetCommandSet() *command.CommandSet
func (Config) GetMaxRunningCommands ¶
func (Config) GetSlackToken ¶
Click to show internal directories.
Click to hide internal directories.