fix: Fix autocompletion parsing past the first option.
@@ -322,6 +322,7 @@ class WebSocketClient:
_name += f"_{__name}" if __name else ""
if _value:
__args.append(_value)
+ break
elif option.type == OptionType.SUB_COMMAND:
for _option in option.options:
@@ -352,7 +353,6 @@ class WebSocketClient:
__args.append(_value)
break
break
- break
self._dispatch.dispatch("on_autocomplete", _context)
elif data["type"] == InteractionType.MODAL_SUBMIT:
