Closed laundmo closed 5 months ago
So supporting this would depend on the webhook library we make use of, discord-webhooks.
Last time I checked, they didn't support this yet. The webhook url is passed from the config directly to this library, and it handles the rest.
So if they support it, then yes we can too. If they don't, then they'd need to add support for it.
Just curious, what's the use case for this?
I run a semi-official minecraft server for a discord community, the main admin of which didn't want to add a full channel for the server so theres a forun thread instead
I see. That makes sense.
So basically you'd need us to support using a single thread or forum post to relay chats to and from?
yup, but i fully understand if its too niche
Found a way to make webhooks work. Will be released after testing.
With this release it will also be possible to use threads for chat and other relays
Implemented in 3.1.0
Hey, thanks for adding this! Would it be worth updating the Documentation to also require the "Send Messages in Threads" bot permission? For me, I wasn't able to get it to send messages in the thread until I allowed this for the bot.
As it stands, the bot cannot send messages to forum threads. I suspect partly because it parses webhook addresses instead of using them as-is.
A webhook can send to a thread or forum post using the
?thread_id=111111111
query parameter just fine. Using a thread webhook would be a nice workaround for being able to set the bot up for threads, but it seems not to send these webhooks successfully.I understand that wanting to proxy a thread's chat is a rare use case, if it isn't worth it so be it.