Open tomabrafix opened 2 years ago
I have implemented forum channel support. In contrast to my first post, this would be the according working config:
[[gateway]]
name="example"
enable=true
[[gateway.inout]]
account="irc.net"
channel="#game"
[[gateway.inout]]
account="discord.game"
channel="ID:2222222222"
[gateway.inout.options]
ForumID="1111111111"
I am not a main Go developer, so I would appreciate any feedback or suggestions for improvement.
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