Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Bomb = Simple(bomb, "this doesn't make any sense, crackedlcd!") Help = help Pong = Static("pong", "tests that the bot is listening") )
Functions ¶
This section is empty.
Types ¶
type CommandHandler ¶
type CommandHandler interface { Handle(args ...string) (string, error) CommandWithHelp }
func Static ¶
func Static(response, help string) CommandHandler
type CommandWithHelp ¶
Click to show internal directories.
Click to hide internal directories.