mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 20:28:38 +00:00
Change TextChannel annotation channel_types to include news channels
This commit is contained in:
parent
5f2d9a9ffa
commit
d63fd578c2
@ -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],
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user