Bot24-irc is the IRC component of the Bot24 framework. It doesn't do much at the moment. It relies on roles, just pieces of functionality built into modules and then translated through a class or just built into the class itself.
- Run
sqlinit.py
to generate the database file - Copy
sample-config.yaml
toconfig.yaml
and fill in with your details
The bot can be controlled by mentioning it at the beginning
of the message with or without a colon. For example, a
bot with the nick bot24
(I'm creative) can be mentioned
with bot24: command
and bot24 command
.
stop
disconnects from server, cleans up, and exitsrestart
stops and then restarts the script
role
precedes all role control commmandsrole ROLE status
checks the state ofROLE
role ROLE start
startsROLE
role ROLE stop
stopsROLE
role ROLE reload
reloadsROLE
if it is a module
--debug
outputs all raw IRC messages--plain
doesn't output any ANSI control characters (color and screen clearing)
The roles phablookup
and keywords
come installed (but
phablookup
disabled). phablookup
looks up any
Phabricator Maniphest Task number such as T##### or
http://url.something.com/T####. keywords
looks up keywords
that are defined in its module.