Documentation
¶
Index ¶
Constants ¶
View Source
const MAX_ITER = 100
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot struct {
Running bool
HelpEnabled bool
Prefix string
// contains filtered or unexported fields
}
func (*Bot) GetHelpString ¶
type Command ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController() *Controller
func (*Controller) HasBotsRunning ¶
func (c *Controller) HasBotsRunning() bool
func (*Controller) RegisterBot ¶
func (c *Controller) RegisterBot(key string, b *Bot)
func (*Controller) RunBot ¶
func (c *Controller) RunBot(key string)
func (*Controller) RunBots ¶
func (c *Controller) RunBots()
func (*Controller) Start ¶
func (c *Controller) Start()
func (*Controller) StopBot ¶
func (c *Controller) StopBot(key string)
func (*Controller) StopBots ¶
func (c *Controller) StopBots()
Click to show internal directories.
Click to hide internal directories.