From 8469f704da83768c64f95c383a55bc4eee9cfd5f Mon Sep 17 00:00:00 2001 From: dolfies Date: Wed, 27 Apr 2022 18:59:52 -0400 Subject: [PATCH] Remove redundant properties from profiles --- discord/profile.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/discord/profile.py b/discord/profile.py index 1df3fa64d..370f1c8e4 100644 --- a/discord/profile.py +++ b/discord/profile.py @@ -100,11 +100,6 @@ class Profile: state = self._state return [state.store_user(friend) for friend in mutual_friends] - @property - def flags(self) -> PublicUserFlags: - """:class:`PublicUserFlags`: The flags the user has.""" - return PublicUserFlags._from_value(self._flags) - @property def premium(self) -> bool: """:class:`bool`: Indicates if the user is a premium user. @@ -113,14 +108,6 @@ class Profile: """ return self.premium_since is not None - @property - def nitro(self) -> bool: - """:class:`bool`: Indicates if the user is a premium user. - - This is an alias for :attr:`premium`. - """ - return self.premium - class UserProfile(Profile, User): """Represents a Discord user's profile. This is a :class:`User` with extended attributes.