]> gitweb.pimeys.fr Git - bots/parrot.git/blobdiff - config.py
[config] +#bio
[bots/parrot.git] / config.py
index c42357e6f9ce1cb872f42630483433b36c3f0193..9db32fb62486a9340e539dacba3d20dcc0e14c75 100644 (file)
--- a/config.py
+++ b/config.py
@@ -12,7 +12,7 @@ irc_password = "1iuh0HiJKWjuE"
 #: Pseudo IRC
 irc_pseudo = "Parrot"
 #: Liste des channels à rejoindre
-chanlist = ["#bot", "#flood"]
+chanlist = ["#bot", "#flood", "#bio"]
 #: Liste des channels à ne pas quitter
 stay_channels = ["#bot", "#flood"]
 #: Liste des channels où se taire
@@ -110,7 +110,7 @@ helpmsg_overops = u" SAY DO STAY NOSTAY OPS OVEROPS KICK DIE CRASH"
 blacklisted_masks = [("Flo!*@*", [])]
 
 #: Regexp utilisée pour parser des quotes
-quote_regexp = ur"""\s*("|«|')\s*(?P<content>.*?)\s*("|»|') ?~ ?(?P<author>.*)"""
+quote_regexp = ur"""\s*("|«|')\s*(?P<content>.*?)\s*("|»|') ?~ ?(?P<author>.*?)\s*$"""
 
 #: Template pour afficher une quote
 quote_template = u"« %(content)s » ~ %(author)s"