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