feat(StageChannel): v13 support messages

#9145 djs
This commit is contained in:
Elysia
2023-04-15 19:53:43 +07:00
parent 6ed56a153f
commit d89c46ba82
7 changed files with 222 additions and 181 deletions

View File

@@ -897,7 +897,8 @@ exports.ChannelTypes = createEnum([
* * NewsChannel
* * ThreadChannel
* * VoiceChannel
* @typedef {DMChannel|TextChannel|NewsChannel|ThreadChannel|VoiceChannel} TextBasedChannels
* * StageChannel
* @typedef {DMChannel|TextChannel|NewsChannel|ThreadChannel|VoiceChannel|StageChannel} TextBasedChannels
*/
/**
@@ -916,6 +917,7 @@ exports.ChannelTypes = createEnum([
* * GUILD_PUBLIC_THREAD
* * GUILD_PRIVATE_THREAD
* * GUILD_VOICE
* * GUILD_STAGE_VOICE
* @typedef {string} TextBasedChannelTypes
*/
exports.TextBasedChannelTypes = [
@@ -926,6 +928,7 @@ exports.TextBasedChannelTypes = [
'GUILD_PUBLIC_THREAD',
'GUILD_PRIVATE_THREAD',
'GUILD_VOICE',
'GUILD_STAGE_VOICE',
];
/**