From 2247fbb23addf9112576b3db61e1afd99d9bfc66 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 8 Jun 2021 09:28:29 -0400 Subject: [PATCH] [types] Use proper type for Guild.threads --- discord/types/guild.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/discord/types/guild.py b/discord/types/guild.py index 2fdf8975f..c5e24b2f1 100644 --- a/discord/types/guild.py +++ b/discord/types/guild.py @@ -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