From 5778ad7d1bcac707221e0523d34aca83ec1c2781 Mon Sep 17 00:00:00 2001 From: ! Sleepy <109904491+eepyfemboi@users.noreply.github.com> Date: Sun, 18 May 2025 17:05:56 -0700 Subject: [PATCH] moved clan and primary_guild from PartialUser to User --- discord/types/user.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/types/user.py b/discord/types/user.py index 9671c9509..291c50a54 100644 --- a/discord/types/user.py +++ b/discord/types/user.py @@ -40,8 +40,6 @@ class PartialUser(TypedDict): avatar: Optional[str] global_name: Optional[str] avatar_decoration_data: NotRequired[AvatarDecorationData] - clan: NotRequired[ClanTagPayload] - primary_guild: NotRequired[ClanTagPayload] PremiumType = Literal[0, 1, 2, 3] @@ -57,3 +55,5 @@ class User(PartialUser, total=False): flags: int premium_type: PremiumType public_flags: int + clan: NotRequired[ClanTagPayload] + primary_guild: NotRequired[ClanTagPayload]