From 67720a59475c4570f8c3d788fb98c35cd21384d6 Mon Sep 17 00:00:00 2001 From: olijeffers0n <69084614+olijeffers0n@users.noreply.github.com> Date: Wed, 22 Dec 2021 14:50:52 +0000 Subject: [PATCH] Actually pass the recursion limiter --- rustplus/api/remote/rustws.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rustplus/api/remote/rustws.py b/rustplus/api/remote/rustws.py index cd77c87..cd17c7e 100644 --- a/rustplus/api/remote/rustws.py +++ b/rustplus/api/remote/rustws.py @@ -92,7 +92,7 @@ async def send_message(self, request : AppRequest, depth = 1) -> None: if not self.open or depth >= 10: raise ClientNotConnectedError("Not Connected") self.connect() - await self.send_message(request=request) + await self.send_message(request=request, depth=depth + 1) async def get_response(self, seq) -> AppMessage: """