diff --git a/templates/zerver/help/include/event-filtering-instruction.md b/templates/zerver/help/include/event-filtering-instruction.md index c1d52479d6..e1fd0cbd95 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