Pycord-Development / pycord

Pycord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python
https://docs.pycord.dev
MIT License
2.74k stars 462 forks source link

Add support for voice messages #2571

Closed aka-tinyy closed 1 month ago

aka-tinyy commented 2 months ago

Summary

Adding the option to send an audio file as a native discord file

What is the feature request for?

The core library

The Problem

Making audio files viewable on mobile

The Ideal Solution

Adding the proper parameters, such as voice message flags, duration, and waveform, to allow for native audio messages.

The Current Solution

No response

Additional Context

No response

Lulalaby commented 1 month ago

This is currently not documented by discord and doesn't seem like it will be in future either. So for the time being this won't be added.

aka-tinyy commented 1 month ago

According to advaith in the ddevs server he said it was documented. "you just send a message with the voice message flag and an audio attachment with waveform and duration fields".