theaddonn / discord-webhook2

Discord webhooks library in Rust
Apache License 2.0
5 stars 1 forks source link

Feature Request: Support for Discord Message Components #3

Open WindySpoon opened 5 days ago

WindySpoon commented 5 days ago

I did not see any support for them, but I could be wrong and in that case, my bad. But is their any plan for discord webhook message components?

https://discord.com/developers/docs/resources/webhook#execute-webhook-jsonform-params

theaddonn commented 5 days ago

There is currently no support for discord webhook message components, but they should be added. I will add them once I've got the time, if you need the quickly feel free to open a pull request for them!

WindySpoon commented 5 days ago

Thank you for the quick response! I originally used webhook-rs but it seems their components (e.g., buttons, action rows) do not work (as per my testing, I could be wrong). That crate hasn't been updated in around two years, whereas this one is still actively maintained. Perhaps their implementation of components could be adapted to work here.