From eb06129378e130ab5681489ec061690b3f68273d Mon Sep 17 00:00:00 2001 From: EXPLOSION Date: Wed, 5 Jul 2023 11:43:06 +0900 Subject: [PATCH] [types] Update PremiumType and StickerFormatType --- discord/types/sticker.py | 2 +- discord/types/user.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/types/sticker.py b/discord/types/sticker.py index 15fd034a7..77fc6a1ef 100644 --- a/discord/types/sticker.py +++ b/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): diff --git a/discord/types/user.py b/discord/types/user.py index 0a17a5459..7a34e44bb 100644 --- a/discord/types/user.py +++ b/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):