mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-06 21:10:23 +00:00
fix
This commit is contained in:
@@ -6,11 +6,11 @@ interface PayloadType {
|
||||
}
|
||||
|
||||
export class GetGroupNotice extends BaseAction<PayloadType, null> {
|
||||
actionName = ActionName.GoCQHTTP_GetGroupNotice;
|
||||
actionName = ActionName.GoCQHTTP_GetGroupNotice;
|
||||
|
||||
protected async _handle(payload: PayloadType) {
|
||||
const group = payload.group_id.toString();
|
||||
// WebApi.getGrouptNotice(group);
|
||||
return null;
|
||||
}
|
||||
protected async _handle(payload: PayloadType) {
|
||||
const group = payload.group_id.toString();
|
||||
// WebApi.getGrouptNotice(group);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -6,11 +6,11 @@ interface PayloadType {
|
||||
}
|
||||
|
||||
export class SetGroupNotice extends BaseAction<PayloadType, null> {
|
||||
actionName = ActionName.GoCQHTTP_SetGroupNotice;
|
||||
actionName = ActionName.GoCQHTTP_SetGroupNotice;
|
||||
|
||||
protected async _handle(payload: PayloadType) {
|
||||
const group = payload.group_id.toString();
|
||||
// WebApi.getGrouptNotice(group);
|
||||
return null;
|
||||
}
|
||||
protected async _handle(payload: PayloadType) {
|
||||
const group = payload.group_id.toString();
|
||||
// WebApi.getGrouptNotice(group);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,7 @@ interface Payload {
|
||||
domain: string
|
||||
}
|
||||
interface Response {
|
||||
Pskey: Object;
|
||||
Pskey: object;
|
||||
Skey: string;
|
||||
}
|
||||
export class GetCookies extends BaseAction<Payload, Response> {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {OB11GroupNoticeEvent} from "./OB11GroupNoticeEvent";
|
||||
import { OB11GroupNoticeEvent } from './OB11GroupNoticeEvent';
|
||||
|
||||
export interface MsgEmojiLike {
|
||||
emoji_id: string,
|
||||
@@ -6,10 +6,10 @@ export interface MsgEmojiLike {
|
||||
}
|
||||
|
||||
export class OB11GroupMsgEmojiLikeEvent extends OB11GroupNoticeEvent {
|
||||
notice_type = "group_msg_emoji_like";
|
||||
notice_type = 'group_msg_emoji_like';
|
||||
message_id: number;
|
||||
sub_type: "ban" | "lift_ban";
|
||||
likes: MsgEmojiLike[]
|
||||
sub_type: 'ban' | 'lift_ban';
|
||||
likes: MsgEmojiLike[];
|
||||
|
||||
constructor(groupId: number, userId: number, messageId: number, likes: MsgEmojiLike[]) {
|
||||
super();
|
||||
|
||||
Reference in New Issue
Block a user