forgot about await
This commit is contained in:
parent
b86da91932
commit
ed0d116c7f
1 changed files with 1 additions and 1 deletions
2
ubot.py
2
ubot.py
|
@ -445,7 +445,7 @@ async def main():
|
||||||
async def bio_stat(event):
|
async def bio_stat(event):
|
||||||
msg = "Session stats:\n" \
|
msg = "Session stats:\n" \
|
||||||
f"Medkit usage: {stats_medkit}"
|
f"Medkit usage: {stats_medkit}"
|
||||||
event.edit(msg)
|
await event.edit(msg)
|
||||||
|
|
||||||
@client.on(events.NewMessage(outgoing=True, pattern='.l2f'))
|
@client.on(events.NewMessage(outgoing=True, pattern='.l2f'))
|
||||||
async def cmd_l2f(event): # Local->file/{id}.sqlite
|
async def cmd_l2f(event): # Local->file/{id}.sqlite
|
||||||
|
|
Loading…
Reference in a new issue