"DTD/xhtml1-strict.dtd">
Main bot class, which receives messages, handles them or passes them to
plugins, and stores runtime data
:addressing_prefixes
[R]
bot's configured addressing prefixes
:auth
[R]
the bot's IrcAuth data
:botclass
[R]
the botclass for this bot (determines configdir among other things)
:channels
[R]
channel info for channels the bot is in
:config
[R]
the bot's BotConfig data
:lang
[R]
bot's Language data
:nick
[R]
the bot's current nickname
: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.)
:timer
[R]
used to perform actions periodically (saves configuration once per minute
by default)
create a new IrcBot with botclass
botclass
begin event handling loop
type: message type
where: message target
message: message text
send message message of type type to target
where Type can be PRIVMSG, NOTICE, etc, but those you should
really use the relevant say() or notice() methods. This one should be used
for IRCd extensions you want to use in modules.
send a notice message to channel/nick where
say something (PRIVMSG) to channel/nick where
perform a CTCP action with message message to channel/nick
where
quick way to say "okay" (or equivalent) to where
log message message to a file determined by where .
where can be a channel name, or a nick for private message logging
set topic of channel where to topic
message: optional IRC quit message
quit IRC, shutdown the bot
call the save method for bot's config, keywords, auth and all plugins
call the rescan method for the bot's lang, keywords and all plugins
channel: channel to join
key: optional channel key if channel is +s
join a channel
attempt to change bot's nick to name
m: message asking for help
topic: optional topic help is requested for
respond to online help requests
handle help requests for "core" topics
handle incoming IRC PRIVMSG m
log a message. Internal use only.
respond to being kicked from a channel
delegate a privmsg to auth, keyword or plugin handlers