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: """