This repository has been archived by the owner on Feb 20, 2024. It is now read-only.
Releases: CMHopeSunshine/nonebot-adapter-villa
Releases · CMHopeSunshine/nonebot-adapter-villa
v1.4.2
v1.4.1
v1.4.0
新特性
Bot
新增iter_villa_members
接口,可以对别野成员进行异步迭代:
async for members in bot.iter_villa_members(event.villa_id):
print(members)
修复
- 根据最新官方文档修正以下模型:
- 移除 MemberBasic 的
avatar
字段 - Member 的
joined_at
字段改为 datetime 类型 - MemberRole 补充一下字段
- member_num
- font_color
- bg_color
- has_manage_perm
- is_all_room
- room_ids
- color_scheme_id
- priority
- 移除 MemberBasic 的
破坏性变更
- 修改
get_villa_members
接口的返回值结构 - 移除已经下线的
sort_group_list
和sort_room_list
接口
依赖
- 重构 protobuf 实现,移除 betterproto 依赖
Full Changelog: v1.3.4...v1.4.0
v1.3.4
What's Changed
修复
- 🐛 修复发送单图+组件时组件无法显示的问题(但 web 端将无法显示图片)
- 🐛 修复
ClickMsgComponentEvent
事件解析 by @KimigaiiWuyi in #37
New Contributors
- @KimigaiiWuyi made their first contribution in #37
Full Changelog: v1.3.3...v1.3.4