-
Notifications
You must be signed in to change notification settings - Fork 82
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 support for voice messages #814
Conversation
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.
api dump is missing + could you use trailing commas? that way the diff will be clearer when these places are changed again in the future.
converted it to draft for now since discord/discord-api-docs#6082 is not merged yet and may change |
Co-authored-by: Lukellmann <[email protected]>
I hate them, but the style guide enforces them, so ig we need them, However, ktlint supports them AFAIK, so once we add that we can add all of them at once |
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.
also tests would be nice for this serializer
common/src/commonMain/kotlin/serialization/DurationSerializers.kt
Outdated
Show resolved
Hide resolved
common/src/commonMain/kotlin/serialization/DurationSerializers.kt
Outdated
Show resolved
Hide resolved
common/src/commonMain/kotlin/serialization/DurationSerializers.kt
Outdated
Show resolved
Hide resolved
Bumping as I'm currently waiting on this PR for my bot |
Co-authored-by: Lukellmann <[email protected]>
Co-authored-by: Lukellmann <[email protected]>
the discord pr was merged, but there was also a new commit, adding error codes and clarifying what |
Co-authored-by: Lukellmann <[email protected]>
i can fix the serializer and add tests if you don't want to |
Yeah sure that's probably faster |
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.
i've changed DurationInDoubleSecondsSerializer
and added some tests, can you check if it looks ok to you?
LGTM! |
should be available with |
see discord/discord-api-docs#6082