discordgo icon indicating copy to clipboard operation
discordgo copied to clipboard

Add missing webhook thread endpoints and allow overriding webhook message attachments

Open merlinfuchs opened this issue 1 year ago • 2 comments

This PR adds the missing attachments field to the WebhookEdit struct so you can remove and override attachments on webhook messages. See https://discord.com/developers/docs/resources/webhook#edit-webhook-message

It also adds the missing thread specific equivalents to the WebhookMessage, WebhookMessageEdit, and WebhookMessageDelete endpoints.

merlinfuchs avatar Jun 09 '23 11:06 merlinfuchs

Thank you for implementing these missing features, however, I think it's a good idea to separate the endpoint and attachment changes into different PRs, since they have completely different scopes.

FedorLap2006 avatar Jun 17 '23 13:06 FedorLap2006

#1392 adds the attachments parameter so I will remove it from this PR

merlinfuchs avatar Jun 19 '23 18:06 merlinfuchs