File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import { Option, Result } from '@sapphire/result';
5
5
import type { Awaitable } from '@sapphire/utilities' ;
6
6
import type {
7
7
CategoryChannel ,
8
+ ChannelType ,
8
9
DMChannel ,
9
10
GuildMember ,
10
11
Message ,
@@ -782,9 +783,9 @@ export interface ArgType {
782
783
guildCategoryChannel : CategoryChannel ;
783
784
guildChannel : GuildBasedChannelTypes ;
784
785
guildNewsChannel : NewsChannel ;
785
- guildNewsThreadChannel : ThreadChannel & { type : 'GUILD_NEWS_THREAD' ; parent : NewsChannel | null } ;
786
- guildPrivateThreadChannel : ThreadChannel & { type : 'GUILD_PRIVATE_THREAD' ; parent : TextChannel | null } ;
787
- guildPublicThreadChannel : ThreadChannel & { type : 'GUILD_PUBLIC_THREAD' ; parent : TextChannel | null } ;
786
+ guildNewsThreadChannel : ThreadChannel & { type : ChannelType . AnnouncementThread ; parent : NewsChannel | null } ;
787
+ guildPrivateThreadChannel : ThreadChannel & { type : ChannelType . PrivateThread ; parent : TextChannel | null } ;
788
+ guildPublicThreadChannel : ThreadChannel & { type : ChannelType . PublicThread ; parent : TextChannel | null } ;
788
789
guildStageVoiceChannel : StageChannel ;
789
790
guildTextChannel : TextChannel ;
790
791
guildThreadChannel : ThreadChannel ;
You can’t perform that action at this time.
0 commit comments