ircbot: Make #fedora-design bot emit more useful messages

I was trying to meet this criteria for the filter. I used the CommOps
and Badges bots as examples to figure this out:

[12:20:02] <mizmo> when someone posts to the list - very helpful
[12:20:14] <mizmo> when someone files or coments on a design ticket - very helpful

Signed-off-by: Justin W. Flory <git@jwf.io>
This commit is contained in:
Justin W. Flory 2020-06-01 12:39:51 -04:00
parent d5afca0080
commit cebda1a061
No known key found for this signature in database
GPG key ID: 3AA2DC1FF6ABF0B6

View file

@ -324,7 +324,7 @@ config = dict(
),
),
# Hook up the design-team with badges messages
# Hook up the design-team
dict(
network='chat.freenode.net',
port=6667,
@ -338,7 +338,12 @@ config = dict(
{% endif %}
channel='#fedora-design',
filters=dict(
body=['^((?!(fedora-badges|design-team|fedoradesign)).)*$'],
topic=[
'^((?!(mailman|pagure.(issue|pull-request).new)).)*$',
],
body=[
"^((?!(u'name': u'design')).)*$",
],
),
),