Update.
This commit is contained in:
parent
e0f9aca6ab
commit
59c86b3e85
@ -119,7 +119,7 @@ class Bot:
|
|||||||
data = None
|
data = None
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
async iwth self.semaphore:
|
async with self.semaphore:
|
||||||
data = await rpc.receive()
|
data = await rpc.receive()
|
||||||
if not data:
|
if not data:
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user