From a53b609e371b50d7fb35e5b9e36a1da18e47bcaa Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 17 Sep 2022 00:11:27 -0400 Subject: [PATCH] Fix ForumChannel annotation not working for app_commands Closes #8472 --- discord/app_commands/transformers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/discord/app_commands/transformers.py b/discord/app_commands/transformers.py index c576c95ba..bfe2ee8b8 100644 --- a/discord/app_commands/transformers.py +++ b/discord/app_commands/transformers.py @@ -720,6 +720,7 @@ BUILT_IN_TRANSFORMERS: Dict[Any, Transformer] = { VoiceChannel: BaseChannelTransformer(VoiceChannel), TextChannel: BaseChannelTransformer(TextChannel), CategoryChannel: BaseChannelTransformer(CategoryChannel), + ForumChannel: BaseChannelTransformer(ForumChannel), Attachment: IdentityTransformer(AppCommandOptionType.attachment), }