Skip to content
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

Add message_snapshots on Message #3092

Open
wants to merge 2 commits into
base: current
Choose a base branch
from

Conversation

jamesbt365
Copy link
Member

@jamesbt365 jamesbt365 commented Jan 12, 2025

Fixes #2995, as sending messages doesn't seem to be documented unless i missed something? Either way its out of scope if additional documentation is needed, that can be handled at a later date.

Had to write a custom deserialize function because for whatever reason Discord has nested the field, I'm not sure if this means they want to add more in the future, either way working with the nested field seems a bit unusual to the user.

If deserializing it this way is not a good idea We can nest it instead, though if the function can be made any more efficient that would be great too.

@github-actions github-actions bot added the model Related to the `model` module. label Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
model Related to the `model` module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for Message Forwarding
1 participant