Implement New Select Types

Co-authored-by: Soheab_ <33902984+Soheab@users.noreply.github.com>
Co-authored-by: rdrescher909 <51489753+rdrescher909@users.noreply.github.com>
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
This commit is contained in:
Trevor
2022-10-27 10:03:45 -04:00
committed by GitHub
parent 4c8ba635db
commit 5009c83bc9
10 changed files with 698 additions and 111 deletions

View File

@ -576,7 +576,12 @@ class ComponentType(Enum):
action_row = 1
button = 2
select = 3
string_select = 3
text_input = 4
user_select = 5
role_select = 6
mentionable_select = 7
channel_select = 8
def __int__(self) -> int:
return self.value