feat: add support for guild forums
waiting https://github.com/discordjs/discord.js/pull/7791
This commit is contained in:
parent
520d8f9221
commit
47d865db09
@ -654,6 +654,7 @@ exports.ActivityTypes = createEnum(['PLAYING', 'STREAMING', 'LISTENING', 'WATCHI
|
||||
* * `GUILD_PRIVATE_THREAD` - a guild text channel's private thread channel
|
||||
* * `GUILD_STAGE_VOICE` - a guild stage voice channel
|
||||
* * `GUILD_DIRECTORY` - the channel in a hub containing guilds
|
||||
* * `GUILD_FORUM` - a guild channel that only contains threads
|
||||
* * `UNKNOWN` - a generic channel of unknown type, could be Channel or GuildChannel
|
||||
* @typedef {string} ChannelType
|
||||
* @see {@link https://discord.com/developers/docs/resources/channel#channel-object-channel-types}
|
||||
@ -673,6 +674,7 @@ exports.ChannelTypes = createEnum([
|
||||
'GUILD_PRIVATE_THREAD',
|
||||
'GUILD_STAGE_VOICE',
|
||||
'GUILD_DIRECTORY',
|
||||
'GUILD_FORUM',
|
||||
]);
|
||||
|
||||
/**
|
||||
|
1
typings/enums.d.ts
vendored
1
typings/enums.d.ts
vendored
@ -101,6 +101,7 @@ export const enum ChannelTypes {
|
||||
GUILD_PRIVATE_THREAD = 12,
|
||||
GUILD_STAGE_VOICE = 13,
|
||||
GUILD_DIRECTORY = 14,
|
||||
GUILD_FORUM = 15,
|
||||
}
|
||||
|
||||
export const enum MessageTypes {
|
||||
|
Loading…
Reference in New Issue
Block a user