Skip to content

feat: Voice Message Sending#2579

Merged
Lulalaby merged 24 commits into
Pycord-Development:masterfrom
Icebluewolf:voice_messages
Dec 28, 2024
Merged

feat: Voice Message Sending#2579
Lulalaby merged 24 commits into
Pycord-Development:masterfrom
Icebluewolf:voice_messages

Conversation

@Icebluewolf

@Icebluewolf Icebluewolf commented Sep 16, 2024

Copy link
Copy Markdown
Member

Summary

Adds support for sending voice messages. This includes the waveform and duration_sec parameters that can be used in the new VoiceMessage subclass.
Solves #2575

Resolved, was a py-cord bug: This will be a draft until I have confirmed the behavior of waveforms and duration_sec in interaction responses.
As of now I believe there is a discord bug that causes them to be ignored.

Resolved: Also Pending: DAPI #7158

Information

  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed).
  • This PR is not a code change (e.g. documentation, README, typehinting,
    examples, ...).

Checklist

  • I have searched the open pull requests for duplicates.
  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • If type: ignore comments were used, a comment is also left explaining why.
  • I have updated the changelog to include these changes.

@JustaSqu1d JustaSqu1d added priority: medium Medium Priority feature Implements a feature API reflection Discord API isn't correctly reflected labels Sep 20, 2024
@JustaSqu1d

Copy link
Copy Markdown
Member

Potentially related commit: discord/discord-api-docs@e6cf4a9

@aaronjamt

aaronjamt commented Oct 20, 2024

Copy link
Copy Markdown

DAPI #7158 has been closed and I've been using this PR in a project for a couple weeks now without issues. Is it ready to merge?

@Icebluewolf

Copy link
Copy Markdown
Member Author

As far as I know this has not been officially added to the API as it is not strictly documented. Also last time I tested it I was having issues getting the waveforms to display on interaction responses.

Comment thread discord/file.py Outdated
Comment thread discord/file.py Outdated
Comment thread discord/file.py Outdated
Comment thread discord/file.py Outdated
Comment thread discord/file.py
Icebluewolf and others added 2 commits December 27, 2024 17:56
@Lulalaby
Lulalaby enabled auto-merge (squash) December 28, 2024 17:18
@Lulalaby
Lulalaby merged commit f8a7c3a into Pycord-Development:master Dec 28, 2024
@Icebluewolf
Icebluewolf deleted the voice_messages branch December 28, 2024 19:18
@Dorukyum Dorukyum linked an issue Feb 4, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API reflection Discord API isn't correctly reflected feature Implements a feature priority: medium Medium Priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add audio message support

6 participants