Change TextChannel annotation channel_types to include news channels

This commit is contained in:
Rapptz 2022-03-12 20:51:32 -05:00
parent 5f2d9a9ffa
commit d63fd578c2

View File

@ -509,13 +509,14 @@ CHANNEL_TO_TYPES: Dict[Any, List[ChannelType]] = {
ChannelType.store,
ChannelType.voice,
ChannelType.text,
ChannelType.news,
ChannelType.category,
],
AppCommandThread: [ChannelType.news_thread, ChannelType.private_thread, ChannelType.public_thread],
StageChannel: [ChannelType.stage_voice],
StoreChannel: [ChannelType.store],
VoiceChannel: [ChannelType.voice],
TextChannel: [ChannelType.text],
TextChannel: [ChannelType.text, ChannelType.news],
CategoryChannel: [ChannelType.category],
}