fix:workname

This commit is contained in:
手瓜一十雪
2024-12-30 16:54:40 +08:00
parent 048e9af9c3
commit 1202751d64
4 changed files with 20 additions and 17 deletions

View File

@@ -156,9 +156,9 @@ export class NapCatCore {
msgListener.onKickedOffLine = (Info: KickedOffLineInfo) => {
if (this.context.workingEnv === NapCatCoreWorkingEnv.Framework) {
UmamiTrace.sendTrace('framework/kickoff');
UmamiTrace.sendTrace('event/kickoff');
} else {
UmamiTrace.sendTrace('shell/kickoff');
UmamiTrace.sendTrace('event/kickoff');
}
// 下线通知
this.context.logger.logError('[KickedOffLine] [' + Info.tipsTitle + '] ' + Info.tipsDesc);