sentrydiscord.dev icon indicating copy to clipboard operation
sentrydiscord.dev copied to clipboard

Add basic support for threads

Open GeniusTimo opened this issue 1 year ago • 5 comments

Hey there 👋

This pull request is quite incomplete, but I wanted to leave this as a suggestion to provide support for sending webhook messages within threads. Perhaps my solution is as simple as suggested but I have not tested this yet - in addition, it lacks any documentation.

Hopefully I'm not the only one looking for a thread-only webhook ✌

GeniusTimo avatar Aug 21 '22 21:08 GeniusTimo

@GeniusTimo is attempting to deploy a commit to the Sentry Discord Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Aug 21 '22 21:08 vercel[bot]

Oh interesting. I actually don't know how threads and webhooks work within Discord - is it a webhook on a channel with just the thread_id param passed in?

IanMitchell avatar Aug 22 '22 16:08 IanMitchell

Yes! https://discord.dev/resources/webhook#execute-webhook

GeniusTimo avatar Aug 22 '22 16:08 GeniusTimo

Sweet! I will try to take a look at this sometime this week, but I might be a little too busy to get to it - I'm heading out on an international trip for a week, so this might sit until the second week of September, sorry :(

IanMitchell avatar Aug 23 '22 19:08 IanMitchell

No problem, have a nice vacation ✈

GeniusTimo avatar Aug 23 '22 20:08 GeniusTimo