chiark / gitweb /
Found in /home/matthew/programming/irc/bot - live version, all files as found
[irc.git] / acrobat-chiark-0.2.py
index c9e6b3d6ac4bd14cbe816285b363deb6e0ff5b61..15d28782a45f9bc80a90e2d56e9604c11591c9d8 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/env python2
-# $Id$
+# $Id: acrobat-chiark-0.2.py,v 1.20 2002/10/06 16:04:42 matthew Exp $
 #
 # Joel Rosdahl <joel@rosdahl.net>
 # Andrew Walkingshaw <andrew@lexical.org.uk>
@@ -151,7 +151,7 @@ class Acrobat(SingleServerIRCBot):
     # query bot status
     def infoq(self, cmd, nick, conn, public):
         # version control magic
-        acrorevision="$Revision$"
+        acrorevision="$Revision: 1.20 $"
         acrorev1=re.sub(r'\$Revision: (.*)',r'\1',acrorevision)
         acroversion=re.sub(r'(.*) \$',r'\1',acrorev1)
         if public == 1:
@@ -190,7 +190,7 @@ class Acrobat(SingleServerIRCBot):
                     target = nick
                 if public == 0:
                     if random.random() <= 0.1:
-                        trout_msg+= ' (at the instigation of %s)' % nick
+                        trout_msg+= ' (but %s is their secret admirer)' % nick
                 conn.action(self.channel, trout_msg % target)
             except IndexError:
                 conn.notice(nick, "Who do you wish me to flirt with?")