Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Name string `yaml:"name"` Type string `yaml:"type"` Command string `yaml:"command"` Words string `yaml:"words"` Desc string `yaml:"desc,omitempty"` //HTTPCommand HttpURL string `yaml:"url,omitempty"` HttpMethod string `yaml:"method,omitempty"` //BuiltinCommand Func string `yaml:"func,omitempty"` }
type Config ¶
type Config struct { Botname string `yaml:"name"` Commands []Command `yaml:"commands"` IRCGateway []IRCGateway `yaml:"irc,omitempty"` SlackGateway []SlackGateway `yaml:"slack,omitempty"` }
type IRCGateway ¶
type SlackGateway ¶
Click to show internal directories.
Click to hide internal directories.