diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b86ed22..9090d90e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,4 +12,4 @@ 12. 修复群成员加入时间 上次活跃 活跃等级字段 - 影响 API: /get_group_member_info /get_group_member_list 13. 修复视频所需的 ffmpeg 路径不正确导致视频封面和时长获取失败 - 影响 Event/API 14. 支持音乐卡片,需要配置签名服务器地址, `config/onebot11_.json`的`musicSignUrl`字段 - 新增 Feat: Sign Music -15. 支持获取与设置群公告 - 新增 API: /_send_group_notice /_get_group_notice +15. 支持获取与设置群公告 - 新增 API: (/_send_group_notice 暂时未完全实现) /_get_group_notice diff --git a/src/onebot11/action/group/SetGroupNotice.ts b/src/onebot11/action/group/SetGroupNotice.ts index 5a261090..88eb3fa5 100644 --- a/src/onebot11/action/group/SetGroupNotice.ts +++ b/src/onebot11/action/group/SetGroupNotice.ts @@ -1,3 +1,4 @@ +import { WebApi } from '@/core/apis/webapi'; import BaseAction from '../BaseAction'; import { ActionName } from '../types'; @@ -10,7 +11,7 @@ export class SetGroupNotice extends BaseAction { protected async _handle(payload: PayloadType) { const group = payload.group_id.toString(); - // WebApi.getGrouptNotice(group); + WebApi.setGroupNotice(group); return null; } } \ No newline at end of file