From a1e64dd6577e9c109a4a58c1943ab4c2668578b0 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sun, 20 Feb 2022 08:29:45 -0500 Subject: [PATCH] Fix Sphinx build failing TextInput was missing in `__all__`. --- discord/components.py | 1 + docs/api.rst | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/discord/components.py b/discord/components.py index c6bd828f7..5e024d20b 100644 --- a/discord/components.py +++ b/discord/components.py @@ -47,6 +47,7 @@ __all__ = ( 'Button', 'SelectMenu', 'SelectOption', + 'TextInput', ) C = TypeVar('C', bound='Component') diff --git a/docs/api.rst b/docs/api.rst index b6285fc52..54106f7fa 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -1475,7 +1475,7 @@ of :class:`enum.Enum`. .. attribute:: select Represents a select component. - + .. attribute:: text_input Represents a text box component. @@ -3197,7 +3197,7 @@ AuditLogDiff see also :attr:`StreamIntegration.expire_behaviour` :type: :class:`ExpireBehaviour` - + .. attribute:: expire_grace_period The grace period before expiring subscribers changed. @@ -4138,7 +4138,7 @@ Select .. autofunction:: discord.ui.select TextInput -~~~~~~~~ +~~~~~~~~~~ .. attributetable:: discord.ui.TextInput