From: Themis le bot IRC Date: Fri, 6 Jul 2012 16:04:56 +0000 (+0200) Subject: Anglicismes 1.1 X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=27a884a64a78f7de44696d72e205d85bbe8157fe;p=bots%2Fthemis.git Anglicismes 1.1 --- diff --git a/themis.py b/themis.py index 76fea81..5c94b4e 100755 --- a/themis.py +++ b/themis.py @@ -168,7 +168,8 @@ config_leave_fail_messages=config_quit_fail_messages config_kick_channels=config_chanlist config_smileys = [ur':(-|o)?\)', u'\^(_|\.)?\^', u':-?(p|P)', u'=(\)|D|p|P)', ur'\\o/', ur':-?D', ur'x(\)|D)', u'krkr', ur':-?(\]|>)', ur'(<|d|q|\(|\[)(:|=)'] -config_anglicismes = [u"wtf", u"ftfy", u"it works?", u"fyi"] +config_anglicismes = [u"wtf", u"ftfy", u"it works?", u"fyi", u"kill[^ ]*", u"kick[^ ]*", u"chan(nel)?", u"join", +u"btw", u"lmgtfy", u"rtfm", u"asap", u"afaik", u"shit", u"damn", u"fuck", u"bitch", u"updat(e|ed|ing)"] def log(serveur,channel,auteur=None,message=None): f=open(get_config_logfile(serveur),"a")