Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot interface { Name() string FullName() string Send(msg string) Reply(orig Message, msg string) Connect() error Listen() chan Message SetLogger(*log.Logger) Log(msg string) }
Bot is the interface implemented by an object that can connect to a chat service and send and reply to messages.
type Gobot ¶
Gobot is a wrapper around a chatbot and its associated plugins.
func (*Gobot) InternalBot ¶
InternalBot grants access to the currently used chatbot.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
plugins
|
|
chatlog
Package chatlog logs all chat messages to a text file
|
Package chatlog logs all chat messages to a text file |
dm
Package dm gives the bot the ability to recognize messages sent to himself, and reply accordingly
|
Package dm gives the bot the ability to recognize messages sent to himself, and reply accordingly |
quote
Package quote handles different type of quotes
|
Package quote handles different type of quotes |
stathat
Package stathat gives the bot the ability to send info to stathat.com
|
Package stathat gives the bot the ability to send info to stathat.com |
Click to show internal directories.
Click to hide internal directories.