diff --git a/discord/commands/options.py b/discord/commands/options.py index 4b35a080d9..0c6b1fb6f3 100644 --- a/discord/commands/options.py +++ b/discord/commands/options.py @@ -34,6 +34,7 @@ CategoryChannel, DMChannel, ForumChannel, + MediaChannel, StageChannel, TextChannel, Thread, @@ -85,6 +86,7 @@ CategoryChannel: ChannelType.category, Thread: ChannelType.public_thread, ForumChannel: ChannelType.forum, + MediaChannel: ChannelType.media, DMChannel: ChannelType.private, } diff --git a/discord/enums.py b/discord/enums.py index 91425b8cf8..7488ad43a8 100644 --- a/discord/enums.py +++ b/discord/enums.py @@ -825,6 +825,7 @@ def from_datatype(cls, datatype): "ThreadOption", "Thread", "ForumChannel", + "MediaChannel", "DMChannel", ]: return cls.channel