forgot about await

This commit is contained in:
Your Name 2024-12-09 09:05:41 +03:00
parent b86da91932
commit ed0d116c7f

View file

@ -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