node-karin 0.5.0 → 0.5.1
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.
|
@@ -135,7 +135,7 @@ export class AdapterInput {
|
|
|
135
135
|
text.push(`[未知消息类型:${JSON.stringify(v)}]`);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
this.logger('info', text.join(''));
|
|
138
|
+
this.logger('info', `${logger.green('Send private input: ')}${text.join('')}`);
|
|
139
139
|
return { message_id: 'input' };
|
|
140
140
|
}
|
|
141
141
|
getAvatarUrl() {
|
|
@@ -120,7 +120,7 @@ export default class EventHandler {
|
|
|
120
120
|
if (this.e.isGroup) {
|
|
121
121
|
review.GroupMsgPrint(this.e) && logger.bot('info', this.e.self_id, `${logger.green(`Send Group ${this.e.group_id}: `)}${ReplyLog}`)
|
|
122
122
|
} else {
|
|
123
|
-
this.e.self_id
|
|
123
|
+
this.e.self_id !== 'input' && logger.bot('info', this.e.self_id, `${logger.green(`Send private ${this.e.user_id}: `)}${ReplyLog}`)
|
|
124
124
|
}
|
|
125
125
|
let message_id = ''
|
|
126
126
|
try {
|