chiark / gitweb /
add the 'reload' command to the list output
[irc.git] / acrobat-chiark-0.2.py
index 7098c4965f07e2401d9edf96bca1f2fa610378ee..f520749ea7b233833cf7cb0174c106ec77b7ece0 100755 (executable)
@@ -51,7 +51,7 @@ class Acrobat(SingleServerIRCBot):
         self.owner = owner
         self.quotatime = time.time()
         #List of known !commands we respond to
-        self.known =['karma','trout','info','die','quiet','list','google','say','do']
+        self.known =['karma','trout','info','die','quiet','list','google','say','do','reload']
         #Configurable stuff - how often do we add how many fish?
         self.cur_fish=5
         self.max_fish=5       #Maximum of 5 fish
@@ -187,7 +187,7 @@ class Acrobat(SingleServerIRCBot):
                 if me.lower() == target.lower():
                     target = nick
                 if public == 0:
-                    if random.random() <= 0.25:
+                    if random.random() <= 0.1:
                         trout_msg+= ' (at the instigation of %s)' % nick
                 conn.action(self.channel, trout_msg % target)
             except IndexError: