Documentation
¶
Overview ¶
Package plugins defines and maintains supported bot plugins.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dispatch ¶
func Dispatch(w irc.ResponseWriter, r *irc.Request)
Dispatch sends the given, incoming IRC message to all plugins.
Types ¶
type Plugin ¶
type Plugin interface { // Load initializes the module and loads any internal resources // which may be required. Load(irc.Profile) error // Unload cleans the module up and unloads any internal resources. Unload(irc.Profile) error // Dispatch sends the given, incoming IRC message to the plugin for // processing as it sees fit. Dispatch(irc.ResponseWriter, *irc.Request) }
Plugin defines the interface for a single plugin.
Directories
¶
Path | Synopsis |
---|---|
Package action binds action commands.
|
Package action binds action commands. |
Package admin defines administrative bot commands.
|
Package admin defines administrative bot commands. |
Package knmi provides commands to do current weather lookups.
|
Package knmi provides commands to do current weather lookups. |
Package owm provides commands to do current weather lookups.
|
Package owm provides commands to do current weather lookups. |
Package reminder allows a user to schedule a reminder with a custom message.
|
Package reminder allows a user to schedule a reminder with a custom message. |
Package url defines a plugin, which finds and extracts URLs from incoming chat data.
|
Package url defines a plugin, which finds and extracts URLs from incoming chat data. |
youtube
Package youtube provides a minimal set of bindings for Youtube's Data API v3.
|
Package youtube provides a minimal set of bindings for Youtube's Data API v3. |
Click to show internal directories.
Click to hide internal directories.