From b1e190c4f0773a1a739625f5b41026f593515370 Mon Sep 17 00:00:00 2001 From: Almeida Date: Sat, 24 Sep 2022 14:37:41 +0100 Subject: [PATCH] fix: allow adding forums to `channelTypes` (#8658) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- .../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 dfa94b3c4..cd022ec39 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];