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.
wait_for_component
1 parent 0ba0d02 commit 4dd032dCopy full SHA for 4dd032d
discord_slash/utils/manage_components.py
@@ -302,7 +302,7 @@ async def wait_for_component(
302
custom_ids = list(get_components_ids(components)) if components else None
303
304
# automatically convert improper custom_ids
305
- if not all(isinstance(x, str) for x in custom_ids):
+ if custom_ids and not all(isinstance(x, str) for x in custom_ids):
306
custom_ids = [str(i) for i in custom_ids]
307
logger.warning(
308
"Custom_ids have been automatically converted to a list of strings. Please use lists of strings in future.\n"
0 commit comments