mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
1 parent
a317ceb44a
commit
37d55c8ec4
1 file changed
+3
@@ -117,6 +117,9 @@ class TextInput(Item[V]):
|
||||
)
|
||||
self.row: Optional[int] = row
|
||||
|
||||
def __str__(self) -> str:
|
||||
return self.value or ''
|
||||
|
||||
@property
|
||||
def custom_id(self) -> str:
|
||||
""":class:`str`: The ID of the select menu that gets received during an interaction."""
|
||||
|
||||
Reference in new issue
Block a user