feat: bind

This commit is contained in:
手瓜一十雪
2024-09-22 16:59:45 +08:00
parent b6e392fdb2
commit 5ba110e1da
17 changed files with 82 additions and 86 deletions

View File

@@ -264,7 +264,7 @@ export class NTQQWebApi {
});
}
} else {
this.context.logger.logError('获取龙王信息失败');
this.context.logger.logError.bind(this.context.logger)('获取龙王信息失败');
}
}
if (getType === WebHonorType.PERFORMER || getType === WebHonorType.ALL) {
@@ -280,7 +280,7 @@ export class NTQQWebApi {
});
}
} else {
this.context.logger.logError('获取群聊之火失败');
this.context.logger.logError.bind(this.context.logger)('获取群聊之火失败');
}
}
if (getType === WebHonorType.PERFORMER || getType === WebHonorType.ALL) {
@@ -296,7 +296,7 @@ export class NTQQWebApi {
});
}
} else {
this.context.logger.logError('获取群聊炽焰失败');
this.context.logger.logError.bind(this.context.logger)('获取群聊炽焰失败');
}
}
if (getType === WebHonorType.EMOTION || getType === WebHonorType.ALL) {
@@ -312,7 +312,7 @@ export class NTQQWebApi {
});
}
} else {
this.context.logger.logError('获取快乐源泉失败');
this.context.logger.logError.bind(this.context.logger)('获取快乐源泉失败');
}
}