matterbridge icon indicating copy to clipboard operation
matterbridge copied to clipboard

Add support for discord forum channels/threads (discord)

Open tomabrafix opened this issue 2 years ago • 9 comments

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 avatar Nov 06 '22 16:11 tomabrafix

@tomabrafix sorry for the long delay on response for this PR, are you still willing to work on it and rebase it?

42wim avatar Mar 14 '23 23:03 42wim

any update on tis?

anteac avatar Mar 27 '23 22:03 anteac

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

yousefmansy1 avatar Apr 04 '23 06:04 yousefmansy1

Merge it merge it

aicynide avatar Sep 03 '23 19:09 aicynide

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.

codeclimate[bot] avatar Sep 03 '23 22:09 codeclimate[bot]

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 ?

Ogromny avatar Sep 17 '23 23:09 Ogromny

From my point of view it can be merged

tomabrafix avatar Oct 30 '23 12:10 tomabrafix

How would i use this to mirror i.e. slack threads with discord threads?

Divide-By-0 avatar May 05 '24 14:05 Divide-By-0

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.

tomabrafix avatar May 06 '24 00:05 tomabrafix