[types] Use proper type for Guild.threads

This commit is contained in:
Rapptz 2021-06-08 09:28:29 -04:00
parent c693945a46
commit 2247fbb23a

View File

@ -32,6 +32,7 @@ from .role import Role
from .member import Member
from .emoji import Emoji
from .user import User
from .threads import Thread
class Ban(TypedDict):
@ -60,7 +61,7 @@ class _GuildOptional(TypedDict, total=False):
members: List[Member]
channels: List[GuildChannel]
presences: List[PartialPresenceUpdate]
threads: List[GuildChannel]
threads: List[Thread]
max_presences: Optional[int]
max_members: int
premium_subscription_count: int