pycord
pycord copied to clipboard
Add `channel_types` to SlashCommandOption
Summary
Add the newly added channel_types to SlashCommandOption
What is the feature request for?
The core library
The Problem
channel_types has been added to the API. Refer https://github.com/discord/discord-api-docs/pull/3825
The Ideal Solution
Add channel_types to SlashCommandOption.
The Current Solution
No response
Additional Context
https://github.com/discord/discord-api-docs/pull/3825
Since it is channel_types we should support typing.Union so they can do Union[VoiceChannel, StageChannel]
Shouldn't this be closed now? Channel types are added iirc.