From 17751b8ff442a2d2da1c45ba8e485803c6266101 Mon Sep 17 00:00:00 2001 From: Parag A Nemade Date: Fri, 14 Oct 2016 17:34:22 +0530 Subject: [PATCH] Another improvement to g11n bot Signed-off-by: Parag A Nemade --- roles/fedmsg/irc/templates/ircbot.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/fedmsg/irc/templates/ircbot.py b/roles/fedmsg/irc/templates/ircbot.py index 83f0fcec7b..80e0158782 100644 --- a/roles/fedmsg/irc/templates/ircbot.py +++ b/roles/fedmsg/irc/templates/ircbot.py @@ -253,8 +253,11 @@ config = dict( nickname='fedmsg-g11n', {% endif %} channel='#fedora-g11n', - # If the word i18n/g11n appears in any message, forward it. + # If the word i18n/g11n appears in any of below topic message, forward it. filters=dict( + topic=[ + '^((?!(trac|pagure|planet|mailman|meetbot\.meeting\.complete)).)*$', + ], body=['^((?!(i18n|g11n)).)*$'], ), ),