mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user