Main bot class, which manages the various components, receives messages, handles them or passes them to plugins, and contains core functionality.
COPYRIGHT_NOTICE | = | "(c) Tom Gilbert and the rbot development team" |
SOURCE_URL | = | "http://ruby-rbot.org" |
auth | [R] | the bot‘s Auth data |
botclass | [R] | the botclass for this bot (determines configdir among other things) |
config | [R] | the bot‘s Config data |
httputil | [RW] | bot‘s httputil help object, for fetching resources via http. Sets up proxies etc as defined by the bot configuration/environment |
lang | [R] | bot‘s Language data |
plugins | [R] | bot‘s plugins. This is an instance of class Plugins |
registry | [R] | bot‘s object registry, plugins get an interface to this for persistant storage (hash interface tied to a bdb file, plugins use Accessors to store and restore objects in their own namespaces.) |
save_mutex | [R] | synchronize with this mutex while touching permanent data files: saving, flushing, cleaning up … |
socket | [R] | bot‘s irc socket TODO multiserver |
timer | [R] | used to perform actions periodically (saves configuration once per minute by default) |