diff --git a/interactions/client/client.py b/interactions/client/client.py index 96cdef32b..2d4da248f 100644 --- a/interactions/client/client.py +++ b/interactions/client/client.py @@ -1807,7 +1807,10 @@ async def _dispatch_interaction(self, event: RawGatewayEvent) -> None: # noqa: if auto_opt := getattr(ctx, "focussed_option", None): if autocomplete := ctx.command.autocomplete_callbacks.get(str(auto_opt.name)): - callback = autocomplete + if ctx.command.has_binding: + callback = functools.partial(ctx.command.call_with_binding, autocomplete) + else: + callback = autocomplete elif autocomplete := self._global_autocompletes.get(str(auto_opt.name)): callback = autocomplete else: