Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed Apr 28, 2024
1 parent cb2baf7 commit e6da0e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
12. 修复群成员加入时间 上次活跃 活跃等级字段 - 影响 API: /get_group_member_info /get_group_member_list
13. 修复视频所需的 ffmpeg 路径不正确导致视频封面和时长获取失败 - 影响 Event/API
14. 支持音乐卡片,需要配置签名服务器地址, `config/onebot11_<qq>.json``musicSignUrl`字段 - 新增 Feat: Sign Music
15. 支持获取与设置群公告 - 新增 API: /_send_group_notice /_get_group_notice
15. 支持获取与设置群公告 - 新增 API: (/_send_group_notice 暂时未完全实现) /_get_group_notice
3 changes: 2 additions & 1 deletion src/onebot11/action/group/SetGroupNotice.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { WebApi } from '@/core/apis/webapi';
import BaseAction from '../BaseAction';
import { ActionName } from '../types';

Expand All @@ -10,7 +11,7 @@ export class SetGroupNotice extends BaseAction<PayloadType, null> {

protected async _handle(payload: PayloadType) {
const group = payload.group_id.toString();
// WebApi.getGrouptNotice(group);
WebApi.setGroupNotice(group);
return null;
}
}

0 comments on commit e6da0e5

Please sign in to comment.