~rabbitbot/rabbitbot/trunk

« back to all changes in this revision

Viewing changes to rabbitbot.py

  • Committer: Marin Moulinier
  • Date: 2011-08-11 11:12:46 UTC
  • Revision ID: marin_moulinier-20110811111246-itqghidn0sg5zlx0
ia

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
                                        serv.privmsg(chan, '<3')
54
54
                        
55
55
                        for i in hello:
56
 
                                if 'bot' + i in strpd or 'bot' + i in strpd:
 
56
                                if 'bot' + i in strpd or i + 'bot' in strpd:
57
57
                                        serv.privmsg(chan, nick + ': ' + i.capitalize())
58
58
                        
59
59
                        # Add to logs