X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~matthewv/git?a=blobdiff_plain;ds=sidebyside;f=acrobat-chiark-0.2.py;h=f520749ea7b233833cf7cb0174c106ec77b7ece0;hb=dd36cc99bb93006b87ee7fc63fd9cfd046d5087e;hp=7098c4965f07e2401d9edf96bca1f2fa610378ee;hpb=382a17c507ce0a040f7e7b3ed9e7219eae5f10e1;p=irc.git diff --git a/acrobat-chiark-0.2.py b/acrobat-chiark-0.2.py index 7098c49..f520749 100755 --- a/acrobat-chiark-0.2.py +++ b/acrobat-chiark-0.2.py @@ -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: