优化状态

This commit is contained in:
yeyang
2023-05-03 18:40:43 +08:00
parent 1c34a79538
commit bd7d0556e1

View File

@@ -59,13 +59,13 @@ export class NewState extends plugin {
// 头像
portrait: e.bot?.avatar ?? `https://q1.qlogo.cn/g?b=qq&s=0&nk=${(e.bot ?? Bot).uin}`,
// 运行时间
runTime: common.formatTime(Date.now() / 1000 - (e.bot ?? Bot).stat.start_time, 'dd天hh小时mm分ss', false),
runTime: common.formatTime(Date.now() / 1000 - (e.bot ?? Bot).stat.start_time, 'dd天hh小时mm分', false),
// 日历
calendar: moment().format('YYYY-MM-DD HH:mm:ss'),
// 昵称
nickname: (e.bot ?? Bot).nickname,
// 系统运行时间
systime: common.formatTime(os.uptime(), 'dd天hh小时mm分ss', false),
systime: common.formatTime(os.uptime(), 'dd天hh小时mm分', false),
// 收
recv: (e.bot ?? Bot).stat.recv_msg_cnt,
// 发