]> gitweb.pimeys.fr Git - bots/saturnin.git/blobdiff - config.py
IRC, I hate you
[bots/saturnin.git] / config.py
index b972805893ed934978fa98dd4aa126983870ac1e..d9c688efc6c820ac73b07fab9827a04faa285355 100644 (file)
--- a/config.py
+++ b/config.py
@@ -12,7 +12,10 @@ chanlist=["#flood", "#bot"] # liste des chans à rejoindre
 stay_channels=["#flood", "#bot"] # liste des chans que le bot ne quitte pas, même sur demande d'un leave de la part d'un OP
 quiet_channels=[] # liste des chans sur lesquels le bot ne parle pas
 play_channels = ["#flood"]
+# taille max des messages IRC
+MAX_LENGTH = 400
 
+report_bugs_to = ["[20-100]"]
 # les logs
 logfile_template="saturnin.%s.log" # fichier de log (%s est remplacé par le nom du serveur)
 
@@ -38,7 +41,7 @@ killwords = [u"pan", u"bim", u"bang"]
 
 score_file="scores.pickle"
 
-spawn_delays = [60*10, 60*20]
+spawn_delays = [60*60, 60*480]
 spawn_sentences = [
 u"Coin ! Coin !",
 u"A year spent in artificial intelligence is enough to make one believe in God.",
@@ -63,7 +66,7 @@ proba_miss = 30 #%
 miss_templates = [
 u"The (bad) hunter {0} missed me !!!",
 u"The (bad) hunter {0} missed me !",
-u"The (bad) hunter {0} missed me",
+u"The (bad) hunter {0} missed me...",
 u"The (bad) hunter {0} tried ... aw come on, baby, just touch it",
 u"The (bad) hunter {0} missed it by that much",
 u"The (bad) hunter {0} didn't touch me ... Victory is mine!",
@@ -85,6 +88,7 @@ u"Do you like D*cks ???",
 u"I'll be back.",
 u"I am become death, the destroyer of worlds.",
 u"I believed I was invincible.",
+u"Aw, crap...",
 u"Everything that has a beginning, has an end.",
 u"SOMEONE CALL 911!!!",
 u"And loving it!",
@@ -93,5 +97,15 @@ u"I'm calling you a killer. A natural born killer. You always have been, and you
 u"Are you the farmer?",
 ]
 
-times_up_delays = [60*5, 60*10]
-times_up_sentences = [u"I stayed alive, you're too slow !!!"]
\ No newline at end of file
+times_up_delays = [60*10, 60*20]
+times_up_sentences = [u"I stayed alive, you're too slow !!!"]
+
+#: bad guys
+blacklisted_masks = [
+    ("*!leger@zamok.crans.org", None),
+    ("*!*@alpha.jben.info", None),
+    ("*!*@cranssls.vn9.0o99ub.IP", None),
+    ("Parrot!*@*", None),
+    ("Flo!*@*", None),
+]
+