]> gitweb.pimeys.fr Git - bots/saturnin.git/blob - config.py
IRC, I hate you
[bots/saturnin.git] / config.py
1 #!/usr/bin/python
2 # -*- coding:utf8 -*-
3
4 # Configuration d'un bot IRC (squelette de base vide)
5
6 debug_stdout=True
7
8 # la config irc-related
9 irc_password="96ac0342a3ccf9553e3d4c9da9b821b0"
10 irc_pseudo="Saturnin"
11 chanlist=["#flood", "#bot"] # liste des chans à rejoindre
12 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
13 quiet_channels=[] # liste des chans sur lesquels le bot ne parle pas
14 play_channels = ["#flood"]
15 # taille max des messages IRC
16 MAX_LENGTH = 400
17
18 report_bugs_to = ["[20-100]"]
19 # les logs
20 logfile_template="saturnin.%s.log" # fichier de log (%s est remplacé par le nom du serveur)
21
22 # les ops
23 overops=["[20-100]"] # liste des OVEROPs (meilleurs que les OP ^^)
24 ops=[] # liste des OPs
25
26 # config UTF8-fail
27 utf8_fail_answers = [u"Couac !"]
28 utf8_trigger = True # râlé-je en cas de non-utf8 ?
29
30 # config on m'a demandé de mourir/partir
31 quit_messages=[u"For a man who has done his natural duty, death is as natural as sleep."]
32 leave_messages=quit_messages
33
34 quit_fail_messages = [u"Do they teach you that in the CIA?"]
35 leave_fail_messages = quit_fail_messages
36
37 # config spécial canard
38 canards = [ur"\_%s< " % (tete) for tete in u"0óøoOØ@"] + [""]
39
40 killwords = [u"pan", u"bim", u"bang"]
41
42 score_file="scores.pickle"
43
44 spawn_delays = [60*60, 60*480]
45 spawn_sentences = [
46 u"Coin ! Coin !",
47 u"A year spent in artificial intelligence is enough to make one believe in God.",
48 u"Coin ! Coin ! I've got a bad feeling about this.",
49 u"I'm the king of the world!",
50 u"I am INVINCIBLE!",
51 u"Coin ! Coin ! Run Forrest! Run!",
52 u"Airplanes may kill you, but they ain't likely to hurt you.",
53 u"For NASA, space is still a high priority.",
54 u"Live long and prosper",
55 u"I'm the king of the world!",
56 u"zzzzzzzZZZZZZZZZZzzzzzzzzzzZZZZZZZZZz",
57 u"The only time I have problems is when I sleep.",
58 u"Think in the morning. Act in the noon. Eat in the evening. Sleep in the night.",
59 u"Life is something to do when you can't get to sleep.",
60 u"Men talk of killing time, while time quietly kills them.",
61 u"Coin ! Coin ! It's a bird...it's a plane...it's _________!",
62 ]
63
64 killed_templates = [u"I was killed by {0}"]
65 proba_miss = 30 #%
66 miss_templates = [
67 u"The (bad) hunter {0} missed me !!!",
68 u"The (bad) hunter {0} missed me !",
69 u"The (bad) hunter {0} missed me...",
70 u"The (bad) hunter {0} tried ... aw come on, baby, just touch it",
71 u"The (bad) hunter {0} missed it by that much",
72 u"The (bad) hunter {0} didn't touch me ... Victory is mine!",
73 u"The (bad) hunter {0} Tried to kill me But, Noooooooooooo!",
74 u"The (bad) hunter {0} have made a FAIL shot Do they teach you that in the CIA?",
75 ]
76 proba_miss_sentence = 50 #%
77 miss_sentences = [
78 u"Are you on drugs ?",
79 u"I've seen penguins that can shoot better than that.",
80 u"Priceless. There is things you cannot buy, for the rest there is…",
81 u"I can't hear you ! I'm using the scrambler.",
82 ]
83 proba_killed_sentence = 40 #%
84 killed_sentences = [
85 u"While I thought that I was learning how to live, I have been learning how to die.",
86 u"I can see your force is bigger than mine",
87 u"Do you like D*cks ???",
88 u"I'll be back.",
89 u"I am become death, the destroyer of worlds.",
90 u"I believed I was invincible.",
91 u"Aw, crap...",
92 u"Everything that has a beginning, has an end.",
93 u"SOMEONE CALL 911!!!",
94 u"And loving it!",
95 u"NOOOOOOO!",
96 u"I'm calling you a killer. A natural born killer. You always have been, and you always will be.",
97 u"Are you the farmer?",
98 ]
99
100 times_up_delays = [60*10, 60*20]
101 times_up_sentences = [u"I stayed alive, you're too slow !!!"]
102
103 #: bad guys
104 blacklisted_masks = [
105 ("*!leger@zamok.crans.org", None),
106 ("*!*@alpha.jben.info", None),
107 ("*!*@cranssls.vn9.0o99ub.IP", None),
108 ("Parrot!*@*", None),
109 ("Flo!*@*", None),
110 ]
111