From 3a9f39efe23e02f209ba12dee97f131e4fb9e243 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E9=9B=A8=E2=97=8E=E6=98=9F=E7=A9=BA?= Date: Fri, 28 Apr 2023 16:26:44 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20!18=20=E4=BF=AE=E5=A4=8D=20Bot?= =?UTF-8?q?=E9=9D=9EQQ=E6=97=B6=EF=BC=8C=E7=8A=B6=E6=80=81=E5=A4=B4?= =?UTF-8?q?=E5=83=8F=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF=20*=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=20Bot=E9=9D=9EQQ=E6=97=B6=EF=BC=8C=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E5=A4=B4=E5=83=8F=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/state.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/state.js b/apps/state.js index 8189d70..c33f7b9 100644 --- a/apps/state.js +++ b/apps/state.js @@ -57,7 +57,7 @@ export class NewState extends plugin { let data = { chartData: JSON.stringify(_.every(_.omit(State.chartData, 'echarts_theme'), _.isEmpty) ? undefined : State.chartData), // 头像 - portrait: `https://q1.qlogo.cn/g?b=qq&s=0&nk=${(e.bot ?? Bot).uin}`, + 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), // 日历