Merge pull request #266 from Fripine/fix/OB11FriendRequestEvent

fix: wrong comment words in FriendRequestEvent
This commit is contained in:
手瓜一十雪 2024-08-16 12:44:33 +08:00 committed by GitHub
commit 14ab21fe9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -291,8 +291,8 @@ export class NapCatOneBot11Adapter {
await this.networkManager.emitEvent(new OB11FriendRequestEvent( await this.networkManager.emitEvent(new OB11FriendRequestEvent(
this.core, this.core,
parseInt(requesterUin!), parseInt(requesterUin!),
req.friendUid + '|' + req.reqTime,
req.extWords, req.extWords,
req.friendUid + '|' + req.reqTime,
)); ));
} catch (e) { } catch (e) {
this.context.logger.logDebug('获取加好友者QQ号失败', e); this.context.logger.logDebug('获取加好友者QQ号失败', e);