summaryrefslogtreecommitdiff
path: root/ATRI/plugins
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2022-11-15 21:49:02 +0800
committerKyomotoi <[email protected]>2022-11-15 21:49:02 +0800
commit896f532261358a14e770f729fd48e03478383986 (patch)
treea464ae969c09b3c7c11641c4d4e1bee8ea474be8 /ATRI/plugins
parent9775416cff368dc8acbf2615f05bb86c7196b009 (diff)
downloadATRI-896f532261358a14e770f729fd48e03478383986.tar.gz
ATRI-896f532261358a14e770f729fd48e03478383986.tar.bz2
ATRI-896f532261358a14e770f729fd48e03478383986.zip
🎨 优化输出
Diffstat (limited to 'ATRI/plugins')
-rw-r--r--ATRI/plugins/status/data_source.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ATRI/plugins/status/data_source.py b/ATRI/plugins/status/data_source.py
index 5daea59..10093c4 100644
--- a/ATRI/plugins/status/data_source.py
+++ b/ATRI/plugins/status/data_source.py
@@ -3,13 +3,12 @@ import time
import psutil
from datetime import datetime
-from ATRI.service import Service
from ATRI.message import MessageBuilder
from ATRI.exceptions import GetStatusError
_STATUS_MSG = (
- MessageBuilder("> Status Overview")
+ MessageBuilder("[Status Overview]")
.text("[CPU: {b_cpu}% of {p_cpu}%]")
.text("[Memory: {b_mem} of {p_mem}%]")
.text("[Disk usage: {p_disk}%]")
@@ -17,8 +16,9 @@ _STATUS_MSG = (
.text("[Net sent: {inteSENT}MB]")
.text("[Net recv: {inteRECV}MB]")
.text("")
- .text("[Bot runtime: {bot_time}]")
- .text("[Platform runtime: {boot_time}]")
+ .text("[Run Duration]")
+ .text("[Bot: {bot_time}]")
+ .text("[Platform: {boot_time}]")
.text("{msg}")
.done()
)