Skip to content

fix(enum): deprecates Party Type enum (#1023) #1035

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions disnake/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
"OptionType",
"ApplicationCommandType",
"ApplicationCommandPermissionType",
"PartyType",
"GuildScheduledEventEntityType",
"GuildScheduledEventStatus",
"GuildScheduledEventPrivacyLevel",
Expand Down Expand Up @@ -252,23 +251,6 @@ class MessageType(Enum):
stage_topic = 31
guild_application_premium_subscription = 32


class PartyType(Enum):
poker = 755827207812677713
betrayal = 773336526917861400
fishing = 814288819477020702
chess = 832012774040141894
letter_tile = 879863686565621790
word_snack = 879863976006127627
doodle_crew = 878067389634314250
checkers = 832013003968348200
spellcast = 852509694341283871
watch_together = 880218394199220334
sketch_heads = 902271654783242291
ocho = 832025144389533716
gartic_phone = 1007373802981822582


class SpeakingState(Enum):
none = 0
voice = 1 << 0
Expand All @@ -281,7 +263,6 @@ def __str__(self) -> str:
def __int__(self) -> int:
return self.value


class VerificationLevel(Enum, comparable=True):
none = 0
low = 1
Expand Down