Implementation of Poll routes #2951
Closed
Fendrul
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Polls are already implemented in serenity. Do not use LLMs for programming. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
We are currently working on integrating the new Polls activity from Discord into our project. According to the official API documentation, we have attempted to implement this feature ourselves but have encountered some challenges.
I precise that we currently are beginners in Rust.
We cannot go futher for now, as we've tried to implements the routes ourself, this being impossible as it's part of an enum.
Here is an example of what we've already done :
And this is how we thought to implement it :
We appreciate any guidance or suggestions on how to proceed with implementing custom routes for polls in Rust. Thank you for your time and assistance!
Beta Was this translation helpful? Give feedback.
All reactions