[pybot-commits] CVS: pybot/pybot/modules social.py,1.7,1.8
Brought to you by:
niemeyer
From: Gustavo N. <nie...@us...> - 2003-05-29 16:31:16
|
Update of /cvsroot/pybot/pybot/pybot/modules In directory sc8-pr-cvs1:/tmp/cvs-serv5979 Modified Files: social.py Log Message: Added some spanish and portuguese greeting messages. Index: social.py =================================================================== RCS file: /cvsroot/pybot/pybot/pybot/modules/social.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** social.py 12 May 2003 20:42:21 -0000 1.7 --- social.py 29 May 2003 16:31:13 -0000 1.8 *************** *** 27,32 **** hooks.register("UnhandledMessage", self.unhandled_message) ! # (hi|hello) [there|everybody|all|guys|folks|pybot] [!|.] ! self.re1 = re.compile(r'(?:hi|hello)(?:\s+(?:there|everybody|all|guys|folks|(?P<nick>\w+)))?\s*[!.]*$', re.I) # pybot! --- 27,32 ---- hooks.register("UnhandledMessage", self.unhandled_message) ! # (hi|hello|olá|ola|hola) [there|everybody|all|guys|folks|people|pessoal|pybot] [!|.] ! self.re1 = re.compile(r'(?:hi|hello|olá|ola|hola)(?:\s+(?:there|everybody|all|guys|folks|people|pessoal|(?P<nick>\w+)))?\s*[!.]*$', re.I) # pybot! |