[pybot-commits] CVS: pybot/contrib PybotRemoteInfo,1.1,1.2
Brought to you by:
niemeyer
From: Gustavo N. <nie...@us...> - 2003-08-21 23:32:50
|
Update of /cvsroot/pybot/pybot/contrib In directory sc8-pr-cvs1:/tmp/cvs-serv12435/contrib Modified Files: PybotRemoteInfo Log Message: * modules/servercontrol.py: Allow setting the bot nick when connecting. * modules/remoteinfo.py: Added 'c' flag to handle CTCP messages. Index: PybotRemoteInfo =================================================================== RCS file: /cvsroot/pybot/pybot/contrib/PybotRemoteInfo,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PybotRemoteInfo 2 Jun 2003 13:36:09 -0000 1.1 --- PybotRemoteInfo 21 Aug 2003 23:24:15 -0000 1.2 *************** *** 7,10 **** --- 7,12 ---- ## http://example.com/moin.cgi/PybotRemoteInfo?action=raw ## with regex \s(?:\[(?P<flags>\w*)\])?\s*(?P<trigger>.*?)\s*::(?P<msg>.*) + ## + ## Don't forget to use "allow remoteinfo". = Pybot Remote Information System = *************** *** 21,24 **** --- 23,27 ---- * '''a''' -- disable the inclusion of the user nick at the start of the line on channel messages; * '''g''' -- check even channel messages not targeted to pybot; + * '''c''' -- check also CTCP messages with ACTION type (/me) * '''s''' -- makes the regex case sensitive. |