1
0
mirror of https://github.com/Rapptz/discord.py.git synced 2025-05-09 15:29:57 +00:00

Added Optional to ClientUser.premium_type type hint

This commit is contained in:
Willy 2019-10-27 16:50:17 -04:00 committed by Rapptz
parent 99b61f973f
commit e713b86154

@ -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__ + \