notbot 0.6.13

Matrix chatbot, primarily used around the Warsaw Hackerspace channels and spaces
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
{%- block formatted -%}
{%- for item in items -%}
{%- set owner = known_users.get(&(instance_name.clone(), item.owner.account_id)).unwrap() -%}
{{owner}} has posted a new change to {{item.project}}: <b>{{ item.change_size() }}</b> <a href="{{ instance_url }}/c/{{ item.project }}/+/{{ item.number }}">{{ item.subject }}</a></br>
{%- endfor -%}
{%- endblock -%}
{%- block plain -%}
{%- for item in items -%}
{%- set owner = known_users.get(&(instance_name.clone(), item.owner.account_id)).unwrap() -%}
{{owner}} has posted a new change to {{item.project}}: {{ item.change_size() }} {{ item.subject }} {{ instance_url }}/c/{{ item.project }}/+/{{ item.number }}
{% endfor -%}
{%- endblock -%}