diff --git a/src/onebot/action/group/GetGroupNotice.ts b/src/onebot/action/group/GetGroupNotice.ts index 7dbf4ab4..1cbab158 100644 --- a/src/onebot/action/group/GetGroupNotice.ts +++ b/src/onebot/action/group/GetGroupNotice.ts @@ -6,6 +6,7 @@ import { FromSchema, JSONSchema } from 'json-schema-to-ts'; interface GroupNotice { sender_id: number; publish_time: number; + feed_id: string; message: { text: string image: Array<{ @@ -44,7 +45,8 @@ export class GetGroupNotice extends BaseAction { for (const key in ret.feeds) { const retApiNotice: WebApiGroupNoticeFeed = ret.feeds[key]; const retNotice: GroupNotice = { - // ...ret.feeds[key], + //...ret.feeds[key], + feed_id: retApiNotice.fid, sender_id: retApiNotice.u, publish_time: retApiNotice.pubt, message: {