mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-06 13:05:09 +00:00
fix
This commit is contained in:
@@ -6,7 +6,7 @@ interface PayloadType {
|
||||
}
|
||||
|
||||
export class GetGroupNotice extends BaseAction<PayloadType, null> {
|
||||
actionName = ActionName.GetGroupNotice;
|
||||
actionName = ActionName.GoCQHTTP_GetGroupNotice;
|
||||
|
||||
protected async _handle(payload: PayloadType) {
|
||||
const group = payload.group_id.toString();
|
||||
|
||||
16
src/onebot11/action/group/SetGroupNotice.ts
Normal file
16
src/onebot11/action/group/SetGroupNotice.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import BaseAction from '../BaseAction';
|
||||
import { ActionName } from '../types';
|
||||
|
||||
interface PayloadType {
|
||||
group_id: number
|
||||
}
|
||||
|
||||
export class SetGroupNotice extends BaseAction<PayloadType, null> {
|
||||
actionName = ActionName.GoCQHTTP_SetGroupNotice;
|
||||
|
||||
protected async _handle(payload: PayloadType) {
|
||||
const group = payload.group_id.toString();
|
||||
// WebApi.getGrouptNotice(group);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user