-
Notifications
You must be signed in to change notification settings - Fork 951
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added poll to the Message object [Suggestion #2201] #1850
base: dev
Are you sure you want to change the base?
Conversation
This will also need to be added in MessageState. |
$ git switch -c my-branch master |
@@ -415,6 +415,7 @@ type MessageState struct { | |||
MentionRoles []int64 | |||
Attachments []discordgo.MessageAttachment | |||
Stickers []discordgo.Sticker | |||
Poll *discordgo.Poll |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't work, take reference of messageForwards support, you'll also have to add helpers to convert poll to value from pointer when saving to state.
Reference PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is still missing critical code for being functional,
Reference PR for adding new items to message struct
Suggestion #2201
Screenshots:
