mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 20:28:38 +00:00
[types] Update PremiumType and StickerFormatType
This commit is contained in:
parent
c448932fa0
commit
eb06129378
@ -30,7 +30,7 @@ from typing_extensions import NotRequired
|
|||||||
from .snowflake import Snowflake
|
from .snowflake import Snowflake
|
||||||
from .user import User
|
from .user import User
|
||||||
|
|
||||||
StickerFormatType = Literal[1, 2, 3]
|
StickerFormatType = Literal[1, 2, 3, 4]
|
||||||
|
|
||||||
|
|
||||||
class StickerItem(TypedDict):
|
class StickerItem(TypedDict):
|
||||||
|
@ -34,7 +34,7 @@ class PartialUser(TypedDict):
|
|||||||
global_name: Optional[str]
|
global_name: Optional[str]
|
||||||
|
|
||||||
|
|
||||||
PremiumType = Literal[0, 1, 2]
|
PremiumType = Literal[0, 1, 2, 3]
|
||||||
|
|
||||||
|
|
||||||
class User(PartialUser, total=False):
|
class User(PartialUser, total=False):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user