diff --git a/client.d.ts b/client.d.ts index 34a33aa9..236bad59 100644 --- a/client.d.ts +++ b/client.d.ts @@ -108,7 +108,7 @@ export interface GroupInfo { readonly active_member_count: number, readonly update_time: number, //当前群资料的最后更新时间 } -interface MemberBaseInfo { +export interface MemberBaseInfo { readonly user_id: number, readonly nickname: string, readonly card: string, @@ -190,7 +190,7 @@ export type EnableFlag = 1 | 0 | "1" | "0"; * @see https://github.com/howmanybots/onebot/blob/master/v11/specs/message/segment.md */ export type MessageElem = TextElem | AtElem | FaceElem | BfaceElem | MfaceElem | - ImgPttElem | LocationElem | MusicElem | ShareElem | JsonElem |XmlElem | + ImgPttElem | LocationElem | MusicElem | ShareElem | JsonElem | XmlElem | AnonymousElem | ReplyElem | NodeElem | ShakeElem | PokeElem; export interface TextElem { @@ -478,8 +478,8 @@ export interface GroupSettingEventData extends CommonEventData { enable_confess?: boolean, } -type FriendNoticeEventData = FriendEventData | FriendRecallEventData | FriendProfileEventData | FriendPokeEventData; -type GroupNoticeEventData = GroupRecallEventData | GroupSettingEventData | GroupTitleEventData | GroupTransferEventData | +export type FriendNoticeEventData = FriendEventData | FriendRecallEventData | FriendProfileEventData | FriendPokeEventData; +export type GroupNoticeEventData = GroupRecallEventData | GroupSettingEventData | GroupTitleEventData | GroupTransferEventData | GroupMuteEventData | GroupAdminEventData | MemberIncreaseEventData | MemberDecreaseEventData; export type EventData = CaptchaEventData | DeviceEventData | LoginErrorEventData | OfflineEventData | diff --git a/client.js b/client.js index 7b7bcfd9..ea485d24 100644 --- a/client.js +++ b/client.js @@ -703,7 +703,7 @@ process.OICQ = { console.log(` ########################################################################### # Open Source License: Apache-2.0 # -# Package Version: oicq@${version.version} (Release on ${version.upday}) +# Package Version: oicq@${version.version} (Released on ${version.upday}) # View Changelogs:https://github.com/takayama-lily/oicq/releases # ########################################################################### `); diff --git a/package-lock.json b/package-lock.json index bf2f1d3e..ce110e15 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "oicq", - "version": "1.12.0", + "version": "1.12.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 5951ce01..ae567472 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "oicq", - "version": "1.12.0", - "upday": "2020/12/23", + "version": "1.12.1", + "upday": "2020/12/25", "description": "QQ protocol!", "main": "client.js", "types": "client.d.ts",