mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-13 00:10:27 +00:00
style&chore: 整理代码
This commit is contained in:
@@ -104,10 +104,10 @@ export class NapCatOnebot11 {
|
||||
toUin: string;
|
||||
}
|
||||
) => {
|
||||
let uin = await NTQQUserApi.getUinByUid(data.fromUin);
|
||||
const uin = await NTQQUserApi.getUinByUid(data.fromUin);
|
||||
logNotice(`[输入状态] ${uin} ${data.statusText}`);
|
||||
postOB11Event(new OB11InputStatusEvent(parseInt(uin), data.eventType, data.statusText));
|
||||
}
|
||||
};
|
||||
msgListener.onRecvSysMsg = async (protobufData: number[]) => {
|
||||
// function buf2hex(buffer: Buffer) {
|
||||
// return [...new Uint8Array(buffer)]
|
||||
|
||||
Reference in New Issue
Block a user