mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-22 08:44:10 +00:00
Add container operations documentation to TextInput
This commit is contained in:
parent
d437f494db
commit
e7ce8b6b77
@ -52,6 +52,12 @@ V = TypeVar('V', bound='View', covariant=True)
|
||||
class TextInput(Item[V]):
|
||||
"""Represents a UI text input.
|
||||
|
||||
.. container:: operations
|
||||
|
||||
.. describe:: str(x)
|
||||
|
||||
Returns the value of the text input or an empty string if the value is ``None``.
|
||||
|
||||
.. versionadded:: 2.0
|
||||
|
||||
Parameters
|
||||
|
Loading…
x
Reference in New Issue
Block a user