Update DragMusic/plugins/tools/ping.py
Browse files
DragMusic/plugins/tools/ping.py
CHANGED
@@ -18,11 +18,9 @@ async def ping_com(client, message: Message, _):
|
|
18 |
caption=_["ping_1"].format(app.mention),
|
19 |
)
|
20 |
pytgping = await Drag.ping()
|
|
|
21 |
resp = (datetime.now() - start).microseconds / 1000
|
22 |
await response.edit_text(
|
23 |
-
|
|
|
24 |
)
|
25 |
-
|
26 |
-
# Start the Pyrogram bot
|
27 |
-
if __name__ == "__main__":
|
28 |
-
app.run()
|
|
|
18 |
caption=_["ping_1"].format(app.mention),
|
19 |
)
|
20 |
pytgping = await Drag.ping()
|
21 |
+
UP, CPU, RAM, DISK = await bot_sys_stats()
|
22 |
resp = (datetime.now() - start).microseconds / 1000
|
23 |
await response.edit_text(
|
24 |
+
_["ping_2"].format(resp, app.mention, UP, RAM, CPU, DISK, pytgping),
|
25 |
+
reply_markup=supp_markup(_),
|
26 |
)
|
|
|
|
|
|
|
|