Skip to content

Commit bb1e292

Browse files
committed
update with latest changes
1 parent 69f60f3 commit bb1e292

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interactions/api/gateway/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def _dispatch_interaction_event(self, data: dict):
330330

331331
self._dispatch.dispatch("on_component", _context)
332332
elif data["type"] == InteractionType.APPLICATION_COMMAND_AUTOCOMPLETE:
333-
_name = f"autocomplete_{_context.data.id}"
333+
_name = f"autocomplete_{_context.data.name}"
334334

335335
if _context.data._json.get("options"):
336336
for option in _context.data.options:

0 commit comments

Comments
 (0)