diff options
| author | Willy <[email protected]> | 2019-10-27 16:50:17 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-11-15 04:23:15 -0500 |
| commit | e713b86154f9fda404465643bc95c5b656921853 (patch) | |
| tree | 370aca532f2f8b17050a45832e26ee1ad28b2c7a | |
| parent | Added Optional to VoiceState.channel type (diff) | |
| download | discord.py-e713b86154f9fda404465643bc95c5b656921853.tar.xz discord.py-e713b86154f9fda404465643bc95c5b656921853.zip | |
Added Optional to ClientUser.premium_type type hint
| -rw-r--r-- | discord/user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/user.py b/discord/user.py index faa2eed1..2880f10a 100644 --- a/discord/user.py +++ b/discord/user.py @@ -300,7 +300,7 @@ class ClientUser(BaseUser): Specifies if the user has MFA turned on and working. premium: :class:`bool` Specifies if the user is a premium user (e.g. has Discord Nitro). - premium_type: :class:`PremiumType` + premium_type: Optional[:class:`PremiumType`] Specifies the type of premium a user has (e.g. Nitro or Nitro Classic). Could be None if the user is not premium. """ __slots__ = BaseUser.__slots__ + \ |