Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

docs: Add commas to list of event types supported by integrations.

Sahil Batra6423bbe26f11
diff --git a/templates/zerver/help/include/event-filtering-instruction.md b/templates/zerver/help/include/event-filtering-instruction.md
index c1d52479d65..e1fd0cbd956 100644
--- a/templates/zerver/help/include/event-filtering-instruction.md
+++ b/templates/zerver/help/include/event-filtering-instruction.md
@@ -4,7 +4,9 @@ either `&only_events=["event_a","event_b"]` or `&exclude_events=["event_a","even
Below are the events that {{ integration_display_name }} bot supports:
-{% for event_type in all_event_types %} `{{ event_type }}` {% endfor %}
+{% set comma = joiner(", ") %}
+
+{% for event_type in all_event_types %} {{- comma() -}} `{{ event_type }}` {% endfor %}
Note that you can also use UNIX-style wildcards like `*` to include
multiple events. E.g., `test*` matches every event that starts with