matterbridge
matterbridge copied to clipboard
Add support for discord forum channels/threads (discord)
Messages send to forum threads need to use the ID of the forum for the webhook but also need to set an additional parameter during the API call to specify the destination thread.
Receiving messages from threads works by using the thread ID. The forum ID is not required.
This commit adds an optional channel option "ForumID" which can be used to supply the forum ID of a thread (= channel). When sending/editing messages the ForumID will be used for the webhook and the channel ID will be supplied as the additional parameter "thread_id".
Fixes #1908
@tomabrafix sorry for the long delay on response for this PR, are you still willing to work on it and rebase it?
any update on tis?
sorry for the long delay on response for this PR, are you still willing to work on it and rebase it?
Might take a look at this later... a bit busy these days :P
Merge it merge it
Code Climate has analyzed commit 3e3090fc and detected 1 issue on this pull request.
Here's the issue category breakdown:
Category | Count |
---|---|
Complexity | 1 |
View more on Code Climate.
I currently use matterbridge to bridge an IRC and a discord server. This feature would greatly improve the user experience, is it ready to merge ?
From my point of view it can be merged
How would i use this to mirror i.e. slack threads with discord threads?
How would i use this to mirror i.e. slack threads with discord threads?
If I understand Slack correctly, Slack Threads and Discord "Threads" are different concepts and should not be mirrored:
Discord "Threads" are special channels (part of Discords "Forums"; a forum is like a group of these special channels; only available for community servers).
As far as I understand, Slack Threads are only replies to a message in a channel. In Discord it is possible to reply to a message too, which will be mirrored as a Slack thread if PreserveThreading=true
is set.