2019-06-22 22:49:05 +00:00
|
|
|
templates:
|
|
|
|
reaction:
|
|
|
|
type: m.reaction
|
|
|
|
variables:
|
|
|
|
react_to_event: "{{event.content.get_reply_to() or event.event_id}}"
|
|
|
|
content:
|
|
|
|
m.relates_to:
|
|
|
|
rel_type: m.annotation
|
|
|
|
event_id: $${react_to_event}
|
|
|
|
key: $${reaction}
|
2019-06-22 22:57:15 +00:00
|
|
|
alot:
|
2019-06-22 22:49:05 +00:00
|
|
|
type: m.room.message
|
|
|
|
content:
|
|
|
|
msgtype: m.image
|
2019-06-22 22:57:15 +00:00
|
|
|
body: image.png
|
|
|
|
url: "mxc://maunium.net/eFnyRdgJOHlKXCxzoKPQbwLV"
|
2019-06-22 22:49:05 +00:00
|
|
|
info:
|
2019-06-22 22:57:15 +00:00
|
|
|
mimetype: image/png
|
|
|
|
w: 680
|
|
|
|
h: 510
|
|
|
|
size: 247492
|
|
|
|
thumbnail_url: "mxc://maunium.net/PMxffxMfcUZeWeeYMDCdghBG"
|
2019-06-22 22:49:05 +00:00
|
|
|
thumbnail_info:
|
2019-06-22 22:57:15 +00:00
|
|
|
w: 680
|
|
|
|
h: 510
|
2019-06-22 22:49:05 +00:00
|
|
|
mimetype: image/png
|
2019-06-22 22:57:15 +00:00
|
|
|
size: 233763
|
2019-06-22 22:49:05 +00:00
|
|
|
|
2019-06-23 00:45:00 +00:00
|
|
|
default_flags:
|
|
|
|
- ignorecase
|
|
|
|
|
2019-06-23 11:14:28 +00:00
|
|
|
antispam:
|
2019-06-23 11:20:25 +00:00
|
|
|
room:
|
|
|
|
max: 1
|
|
|
|
delay: 60
|
|
|
|
user:
|
|
|
|
max: 2
|
|
|
|
delay: 60
|
2019-06-23 11:14:28 +00:00
|
|
|
|
2019-06-21 11:49:50 +00:00
|
|
|
rules:
|
2019-06-22 22:49:05 +00:00
|
|
|
twim_cookies:
|
|
|
|
rooms: ["!FPUfgzXYWTKgIrwKxW:matrix.org"]
|
|
|
|
matches: [^TWIM]
|
|
|
|
template: reaction
|
|
|
|
variables:
|
|
|
|
reaction: 🍪
|
2019-06-22 22:57:15 +00:00
|
|
|
alot:
|
|
|
|
matches: [alot]
|
|
|
|
template: alot
|