mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 04:53:30 +01:00
fix: allow adding forums to channelTypes (#8658)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -11,6 +11,7 @@ const allowedChannelTypes = [
|
|||||||
ChannelType.PublicThread,
|
ChannelType.PublicThread,
|
||||||
ChannelType.PrivateThread,
|
ChannelType.PrivateThread,
|
||||||
ChannelType.GuildStageVoice,
|
ChannelType.GuildStageVoice,
|
||||||
|
ChannelType.GuildForum,
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
export type ApplicationCommandOptionAllowedChannelTypes = typeof allowedChannelTypes[number];
|
export type ApplicationCommandOptionAllowedChannelTypes = typeof allowedChannelTypes[number];
|
||||||
|
|||||||
Reference in New Issue
Block a user