Skip to content

Commit

Permalink
update modular/pinge.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jonesroot committed Jul 6, 2024
1 parent 0f1cc5f commit d0e1409
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modular/pinge.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ async def _(c: nlx, m):
em = Emojik()
em.initialize()
start = datetime.now()
await c.invoke(Ping(ping_id=0))
ping_id = int(time.time() * 1000)
await c.invoke(Ping(ping_id=ping_id))
end = datetime.now()
delta_ping = round((end - start).microseconds / 1000, 1)
upnya = await get_time((time() - start_time))
Expand Down

0 comments on commit d0e1409

Please sign in to comment.