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.71k stars 458 forks source link

Add audio message support #2575

Open aka-tinyy opened 1 week ago

aka-tinyy commented 1 week ago

Summary

Adding the ability to send native audio messages

What is the feature request for?

The core library

The Problem

Add this ability so users can listen to audio files on mobile

The Ideal Solution

Adding the required parameters so voice messages are possible

The Current Solution

No response

Additional Context

According to advaith in ddevs server he said that it is documented and "you just send a message with the voice message flag and an audio attachment with waveform and duration fields" https://discord.com/channels/613425648685547541/1130595287078015027/1281416907173396492 https://discord.com/developers/docs/resources/message#attachment-object