mirror of
https://github.com/boticord/boticordpy.git
synced 2024-09-22 19:32:01 +03:00
very important change
This commit is contained in:
parent
cbde8ea727
commit
eb988c091f
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ class BotiCordWebsocket:
|
|||
await self.connect()
|
||||
|
||||
async def _send_ping(self) -> None:
|
||||
if not self.ws.closed:
|
||||
if self.not_closed:
|
||||
await asyncio.sleep(45)
|
||||
await self.ws.send_json({"event": "ping"})
|
||||
|
||||
|
|
Loading…
Reference in a new issue