Qg-botsdk

Latest version: v4.1.5

Safety actively analyzes 638466 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 10

4.0.1

fix: 修复了上一个版本带来的FormData报错问题

4.0.0

feat [breaking change]: 重构了消息API的发送方式,取消了send_embed()等API,统一改为send_msg()并传入相应消息类型的结构体

3.10

3.0.1

feat:加入Model.AT,帮助构建艾特其他用户的消息字符串
feat:补充遗漏的get_online_nums获取在线成员数API

3.0.0

session、wait_for与command类的实例可参考:https://github.com/GLGDLY/qg_botsdk/tree/master/example/example_15(session,wait_for).py

feat:加入api.wait_for(),允许在处理一个消息时暂停并等待新的指令
feat:加入session机制,可根据不同scope(user, guild, channel, global)创建session管理数据
feat:大幅优化plugins和command类别的完整度(refresh_plugins, clear_current_plugins, remove_command, remove_preprocessors, get_current_commands, get_current_preprocessors)
feat:优化Plugins模块的api的属性的获取方式
feat:优化部分API的构建
feat:优化官方报错op=9时的处理方式
feat:优化logger的实例管理和多用例输出流管理
feat:优化部分API的参数传入方式
feat:utils.read_yaml()支持更改编码
feat:优化BOT和http的异步运行实现
feat:优化报错的输出,行数的输出级别从debug改为error
feat:新增unit test
fix:修复Plugins.get_commands_names()
fix:修复BOT.close()不合理等待阻塞的问题
fix:修复BOT.load_plugins()的double import问题
fix:修复子频道权限的输入验证问题
fix:on_command is_custom_short_circuit不生效的问题
fix:其他若干bug
dependencies:aiohttp 3.8.1 was discovered to contain an invalid IPv6 URL which can lead to a Denial of Service (DoS) -> update requirement to aiohttp>=3.8.2

2.7.0

feat:支持运行时修改事件的回调函数
fix:修复threading模式下repeat event阻塞的问题
feat:优化部分部件构建
docs:优化部分文档

Page 2 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.