-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
discord: Add forum channel support #1908
Comments
tomabrafix
added a commit
to tomabrafix/matterbridge
that referenced
this issue
Nov 6, 2022
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 42wim#1908
I have implemented forum channel support. In contrast to my first post, this would be the according working config:
I am not a main Go developer, so I would appreciate any feedback or suggestions for improvement. |
tomabrafix
added a commit
to tomabrafix/matterbridge
that referenced
this issue
Jun 29, 2023
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 42wim#1908
tomabrafix
added a commit
to tomabrafix/matterbridge
that referenced
this issue
Sep 3, 2023
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 42wim#1908
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discord released new "forum channel" with multiple "forums" last month. The matterbridge sadly does not support bridging to these. The forum channel has two IDs: the channel ID (the same for all forums in a forum channel) and a thread ID (different for each forum/thread). Using the forum/thread ID as channel ID in the matterbridge does not work (
Unknown Channel
). Manually creating and using the webhook viaWebhookURL
does not work either, because the discordgo library appends?wait=true
(see below).Webhook documentation with parameter
thread_id
: https://discord.com/developers/docs/resources/webhook#execute-webhookEnvironment
Version: 1.25.2
Operating system: Debian 10
Please describe the expected behavior.
Working bridge to discord forum channel.
Please describe the actual behavior.
Any steps to reproduce the behavior?
Try bridging to a new discord forum channel.
Example configuration file
The text was updated successfully, but these errors were encountered: