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.75k stars 462 forks source link

feat: Soundboard #2623

Open Paillat-dev opened 1 month ago

Paillat-dev commented 1 month ago

Summary

Soundboard

Follows up on #2321 Fixes #2216

Information

Checklist

Paillat-dev commented 1 month ago

To be implemented

Todo

Paillat-dev commented 1 month ago

@Lulalaby You mentioned in #2216

Note: soundboard sounds can not be dispatched by bots. Only managed.

It's curious that they documented /channels/{channel.id}/send-soundboard-sound (https://discord.com/developers/docs/resources/soundboard#send-soundboard-sound) then... Did that change in the mean time ?

Lulalaby commented 1 month ago

yeah, advaith changed it

Paillat-dev commented 4 weeks ago

There.

Paillat-dev commented 4 weeks ago

Also this pr might depend on #2621 as I used typing_extensions in some places

plun1331 commented 3 weeks ago

Is there a reason soundboard gateway events weren't included?

Paillat-dev commented 3 weeks ago

I preferred work on it after and felt like soundboard had waited long enough before being implemented - and would for make a followup pr to add them

plun1331 commented 3 weeks ago

I preferred work on it after and felt like soundboard had waited long enough before being implemented - and would for make a followup pr to add them

gateway events aren't that difficult to implement, would take a few minutes

Paillat-dev commented 2 weeks ago

Also, reiterating that this pr depends on #2621 or else it would break as this pr uses typing_extensions directly.