Browse Source

[types] Update PremiumType and StickerFormatType

pull/9484/head
EXPLOSION 2 years ago
committed by GitHub
parent
commit
eb06129378
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      discord/types/sticker.py
  2. 2
      discord/types/user.py

2
discord/types/sticker.py

@ -30,7 +30,7 @@ from typing_extensions import NotRequired
from .snowflake import Snowflake
from .user import User
StickerFormatType = Literal[1, 2, 3]
StickerFormatType = Literal[1, 2, 3, 4]
class StickerItem(TypedDict):

2
discord/types/user.py

@ -34,7 +34,7 @@ class PartialUser(TypedDict):
global_name: Optional[str]
PremiumType = Literal[0, 1, 2]
PremiumType = Literal[0, 1, 2, 3]
class User(PartialUser, total=False):

Loading…
Cancel
Save