diff --git a/interactions/api/models/attrs_utils.py b/interactions/api/models/attrs_utils.py index bfa3c8e0f..5f241b647 100644 --- a/interactions/api/models/attrs_utils.py +++ b/interactions/api/models/attrs_utils.py @@ -47,7 +47,11 @@ def __init__(self, kwargs_dict: dict = None, /, **other_kwargs): discord_name = attrib_name if (value := kwargs.pop(discord_name, MISSING)) is not MISSING: - if value is not None and attrib.metadata.get("add_client"): + if ( + value is not None + and attrib.metadata.get("add_client") + and client is not None + ): if isinstance(value, list): for item in value: if isinstance(item, dict):