mirror of
https://github.com/status-im/infra-role-matterbridge.git
synced 2025-02-16 16:56:39 +00:00
config: AutoWebhooks disables WebhookURL
Requries "Manage Webhooks" permission for bot account. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
3cca7c436c
commit
d33f189416
@ -58,8 +58,10 @@ gateway:
|
||||
|
||||
- account: "discord.{{ discord_srv.srv }}"
|
||||
channel: "{{ discord_srv.ch }}"
|
||||
{% if not matterbridge_bridges['discord'][discord_srv.srv].get('AutoWebhooks', False) %}
|
||||
options:
|
||||
WebhookURL: "{{lookup("bitwarden", "Discord/"+discord_srv.srv+"/webhooks", field=discord_srv.ch)}}"
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% endfor %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user