We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
So I don't know if this is a newer change in the API but reactions are now returned when querying messages (even in bulk). The current type https://github.com/aquarial/discord-haskell/blob/master/src/Discord/Internal/Types/Channel.hs#L229 doesn't have a reactions field as documented in https://discord.com/developers/docs/resources/channel#message-object.
reactions
In my testing, the field is missing if there are no reactions.
The text was updated successfully, but these errors were encountered:
Interesting. Might be new, might have overlooked. Added MessageReaction to Message field, good note that the field is missing if no reactions.
MessageReaction
Message
It's got different fields than the ReactionInfo that comes with MessageReactionAdd, so I had to add a struct.
ReactionInfo
MessageReactionAdd
Potentially confusing that , but I'm not sure what else to do.
Sorry, something went wrong.
Cool! Thanks for the quick work!
No branches or pull requests
So I don't know if this is a newer change in the API but reactions are now returned when querying messages (even in bulk). The current type https://github.com/aquarial/discord-haskell/blob/master/src/Discord/Internal/Types/Channel.hs#L229 doesn't have a
reactions
field as documented in https://discord.com/developers/docs/resources/channel#message-object.In my testing, the field is missing if there are no reactions.
The text was updated successfully, but these errors were encountered: