We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20d4245 commit acf24bdCopy full SHA for acf24bd
interactions/models/discord/modal.py
@@ -163,4 +163,6 @@ def add_components(self, *components: InputText) -> None:
163
Args:
164
*components: The components to add.
165
"""
166
+ if len(components) == 1 and isinstance(components[0], (list, tuple)):
167
+ components = components[0]
168
self.components.extend(components)
0 commit comments