Browse Source

Fix Sphinx build failing

TextInput was missing in `__all__`.
pull/7494/head
Rapptz 3 years ago
parent
commit
a1e64dd657
  1. 1
      discord/components.py
  2. 2
      docs/api.rst

1
discord/components.py

@ -47,6 +47,7 @@ __all__ = (
'Button', 'Button',
'SelectMenu', 'SelectMenu',
'SelectOption', 'SelectOption',
'TextInput',
) )
C = TypeVar('C', bound='Component') C = TypeVar('C', bound='Component')

2
docs/api.rst

@ -4138,7 +4138,7 @@ Select
.. autofunction:: discord.ui.select .. autofunction:: discord.ui.select
TextInput TextInput
~~~~~~~~ ~~~~~~~~~~
.. attributetable:: discord.ui.TextInput .. attributetable:: discord.ui.TextInput

Loading…
Cancel
Save