Mercurial > prosody-modules
comparison mod_slack_webhooks/README.markdown @ 4769:00fc569e8333
mod_slack_webhook: fixed documentation for default nick and marked trunk as works
author | Gary Kramlich <grim@reaperworld.com> |
---|---|
date | Fri, 12 Nov 2021 03:29:39 -0600 |
parents | 02fc3b64cbb7 |
children |
comparison
equal
deleted
inserted
replaced
4768:8bd36bba2292 | 4769:00fc569e8333 |
---|---|
35 The normal use for this module is to provide an incoming webhook to allow | 35 The normal use for this module is to provide an incoming webhook to allow |
36 integrations to post to prosody MUCs: | 36 integrations to post to prosody MUCs: |
37 | 37 |
38 ``` {.lua} | 38 ``` {.lua} |
39 incoming_webhook_path = "/msg/DFSDF56587658765NBDSA" | 39 incoming_webhook_path = "/msg/DFSDF56587658765NBDSA" |
40 default_from_nick = "Bot" -- Unless otherwise specified, posts as "Bot" | 40 incoming_webhook_default_nick = "Bot" -- Unless otherwise specified, posts as "Bot" |
41 ``` | 41 ``` |
42 | 42 |
43 This allows Slack-style JSON messages posted to http://conference.example.org/msg/DFSDF56587658765NBDSA/chat to appear in the MUC chat@conference.example.org. A username field in the message is honored as the nick attached to the message; if no username is specified, the message will use the value of default_from_nick. | 43 This allows Slack-style JSON messages posted to http://conference.example.org/msg/DFSDF56587658765NBDSA/chat to appear in the MUC chat@conference.example.org. A username field in the message is honored as the nick attached to the message; if no username is specified, the message will use the value of default_from_nick. |
44 Specifying a string of random gibberish in the URL is important to prevent spam. | 44 Specifying a string of random gibberish in the URL is important to prevent spam. |
45 | 45 |
78 | 78 |
79 Compatibility | 79 Compatibility |
80 ============= | 80 ============= |
81 | 81 |
82 ------- ----------------- | 82 ------- ----------------- |
83 trunk Untested | 83 trunk Works |
84 0.10 Works | 84 0.10 Works |
85 0.9 Works | 85 0.9 Works |
86 ------- ----------------- | 86 ------- ----------------- |
87 | 87 |