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 b1aef75 commit bb30463Copy full SHA for bb30463
interactions/api/gateway/client.py
@@ -465,7 +465,7 @@ def _check_auto(option: dict) -> Optional[Tuple[str]]:
465
# sub_command_groups must have options so there is no extra check needed for those
466
__kwargs["sub_command"] = _data["name"]
467
468
- elif _data.get("value") and _data.get("name"):
+ elif _data.get("value") is not None and _data.get("name") is not None:
469
__kwargs[_data["name"]] = _data["value"]
470
471
return __kwargs
0 commit comments