node-karin 0.10.1 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -156,7 +156,7 @@ export class EventBaseHandler {
|
|
|
156
156
|
request.message_id = Res.message_id || '';
|
|
157
157
|
request.message_time = Res.message_time || Date.now();
|
|
158
158
|
request.raw_data = Res.raw_data || undefined;
|
|
159
|
-
logger.bot('debug', this.e.self_id, `回复消息结果:${JSON.stringify(
|
|
159
|
+
logger.bot('debug', this.e.self_id, `回复消息结果:${JSON.stringify(request)}`);
|
|
160
160
|
}
|
|
161
161
|
catch (error) {
|
|
162
162
|
logger.bot('error', this.e.self_id, `回复消息失败:${ReplyLog}`);
|
|
@@ -231,8 +231,8 @@ export const config = new (class Cfg {
|
|
|
231
231
|
if (res) {
|
|
232
232
|
const cfg = { ...res.defCfg.default, ...res.Config.default };
|
|
233
233
|
for (const k of keys) {
|
|
234
|
-
if (res[k])
|
|
235
|
-
return { ...cfg, ...res[k] };
|
|
234
|
+
if (res.config[k])
|
|
235
|
+
return { ...cfg, ...res.config[k] };
|
|
236
236
|
}
|
|
237
237
|
return cfg;
|
|
238
238
|
}
|