mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 13:01:14 +00:00
Merge remote-tracking branch 'origin/v2' into v2
# Conflicts: # src/core/apis/group.ts
This commit is contained in:
commit
1258270ac4
@ -6,7 +6,13 @@ export enum GroupListUpdateType {
|
||||
MODIFIED,
|
||||
REMOVE
|
||||
}
|
||||
|
||||
export interface GroupMemberCache {
|
||||
group: {
|
||||
data: GroupMember[];
|
||||
isExpired: boolean;
|
||||
}
|
||||
isExpired: boolean;
|
||||
}
|
||||
export interface Group {
|
||||
groupCode: string,
|
||||
createTime?: string,//高版本才有
|
||||
|
@ -35,7 +35,7 @@ async function handleMsg(coreContext: NapCatCore, msg: OB11Message, quickAction:
|
||||
let replyMessage: OB11MessageData[] = [];
|
||||
|
||||
if (msg.message_type == 'group') {
|
||||
group = await getGroup(msg.group_id!.toString());
|
||||
group = await coreContext.getApiContext().GroupApi.getGroup(msg.group_id!.toString());
|
||||
replyMessage.push({
|
||||
type: 'reply',
|
||||
data: {
|
||||
|
Loading…
Reference in New Issue
Block a user