diff --git a/discord/ui/input_text.py b/discord/ui/input_text.py index ba6e801dab..9e9cab37c5 100644 --- a/discord/ui/input_text.py +++ b/discord/ui/input_text.py @@ -71,6 +71,10 @@ def __init__( self._input_value = None self.row = row + @property + def type(self) -> ComponentType: + return self._underlying.type + @property def style(self) -> InputTextStyle: """:class:`discord.InputTextStyle`: The style of the input text field."""