This commit is contained in:
手瓜一十雪
2024-04-28 18:42:04 +08:00
parent 0835fa2463
commit 328b6ad013
95 changed files with 208 additions and 167 deletions

View File

@@ -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;
}
}

View File

@@ -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;
}
}

View File

@@ -8,7 +8,7 @@ interface Payload {
domain: string
}
interface Response {
Pskey: Object;
Pskey: object;
Skey: string;
}
export class GetCookies extends BaseAction<Payload, Response> {