From fa43404c29c050c676bca9ea0b650c65609fc844 Mon Sep 17 00:00:00 2001 From: almeidx Date: Wed, 21 Sep 2022 17:03:53 +0100 Subject: [PATCH] fix: allow adding forums to `channelTypes` --- .../mixins/ApplicationCommandOptionChannelTypesMixin.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionChannelTypesMixin.ts b/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionChannelTypesMixin.ts index dfa94b3c470e..cd022ec39210 100644 --- a/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionChannelTypesMixin.ts +++ b/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionChannelTypesMixin.ts @@ -11,6 +11,7 @@ const allowedChannelTypes = [ ChannelType.PublicThread, ChannelType.PrivateThread, ChannelType.GuildStageVoice, + ChannelType.GuildForum, ] as const; export type ApplicationCommandOptionAllowedChannelTypes = typeof allowedChannelTypes[number];