mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-01 07:40:07 +00:00
parent
a317ceb44a
commit
37d55c8ec4
@ -117,6 +117,9 @@ class TextInput(Item[V]):
|
|||||||
)
|
)
|
||||||
self.row: Optional[int] = row
|
self.row: Optional[int] = row
|
||||||
|
|
||||||
|
def __str__(self) -> str:
|
||||||
|
return self.value or ''
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def custom_id(self) -> str:
|
def custom_id(self) -> str:
|
||||||
""":class:`str`: The ID of the select menu that gets received during an interaction."""
|
""":class:`str`: The ID of the select menu that gets received during an interaction."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user