jayvdb added a subscriber: jayvdb.
jayvdb added a comment.
How do we use/test this?
After installing the irclib package, the bot starts up with
$ python pwb.py scripts/maintainer/maintcont.py
WARNING: Type of 'console_encoding' changed
Was: <type 'str'>
Now: <type 'unicode'>
worker list:
--------------------
I can then see that 'maintcont' has joined
irc.freenode.net
/msg maintcont active
/msg maintcont workerjoin foo
07:05 <maintcont> accepted
07:05 <maintcont> tasklist rciw|censure
and on the console
worker list:
--------------------
('worker got, name:', 'jayvdb', 'job:', 'foo')
worker list:
('*', 'jayvdb', 'has been removed')
--------------------
how do we get it to do anything more than that?
TASK DETAIL
https://phabricator.wikimedia.org/T66839
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign
<username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: jayvdb, gerritbot, droid, Xqt, valhallasw, Ricordisamoa, Ladsgroup, pywikipedia-bugs