Rock Chin
|
3c96e1298c
|
fix: 错误的回复消息类型判断
|
2023-01-17 21:21:35 +08:00 |
|
Rock Chin
|
2894309fa6
|
perf: 优化插件管理
|
2023-01-17 15:43:28 +08:00 |
|
Rock Chin
|
ba2c362082
|
fix: 更新插件后多余的'[bot]'
|
2023-01-17 14:32:20 +08:00 |
|
Rock Chin
|
2319c7eae2
|
fix: 非源码拉取安装的plugin源码地址输出错误
|
2023-01-17 14:11:58 +08:00 |
|
Rock Chin
|
20bdc7de58
|
feat: 插件更新之后安装依赖
|
2023-01-17 12:54:27 +08:00 |
|
Rock Chin
|
690e542f37
|
feat: 支持更新插件
|
2023-01-17 12:35:40 +08:00 |
|
Rock Chin
|
33f80c8d16
|
feat: !plugin指令展示源码地址
|
2023-01-17 12:30:45 +08:00 |
|
Rock Chin
|
e01cc09a28
|
feat(plugin): 新的__init__标准
|
2023-01-17 12:07:08 +08:00 |
|
Rock Chin
|
120ec98ba7
|
feat: 支持从储存库获取插件
|
2023-01-17 11:54:33 +08:00 |
|
Rock Chin
|
6af55d8a1d
|
feat: 基本插件指令
|
2023-01-17 00:11:07 +08:00 |
|
Rock Chin
|
08d86dbd30
|
fix: 插件开关相关bug
|
2023-01-16 23:47:57 +08:00 |
|
Rock Chin
|
32e8f08398
|
feat: 支持插件开关
|
2023-01-16 23:40:59 +08:00 |
|
Rock Chin
|
78c73def8a
|
feat: 调用pip解决依赖
|
2023-01-16 21:34:35 +08:00 |
|
Rock Chin
|
82d845b5c8
|
feat: 完善调用事件时的输出
|
2023-01-16 19:15:54 +08:00 |
|
Rock Chin
|
40fd9b0579
|
doc: 添加部分注释
|
2023-01-16 18:00:30 +08:00 |
|
Rock Chin
|
fd27a7c999
|
perf: 完善事件处理
|
2023-01-15 22:41:47 +08:00 |
|
Rock Chin
|
37153e7360
|
feat: 支持插件热重载
|
2023-01-15 22:23:18 +08:00 |
|
Rock Chin
|
f06b16437c
|
fix: 修复返回值获取时的bug
|
2023-01-15 21:13:44 +08:00 |
|
Rock Chin
|
e582780195
|
feat: 支持多个事件的返回值
|
2023-01-15 20:37:23 +08:00 |
|
Rock Chin
|
df9e89deb7
|
feat: 支持NormalMessageResponded事件
|
2023-01-15 13:57:05 +08:00 |
|
Rock Chin
|
023ed21363
|
feat: 在PluginHost中提供消息发送方法
|
2023-01-15 00:04:47 +08:00 |
|
Rock Chin
|
52d6721ae2
|
feat: 将事件名称统一为 名词+动词 形式
|
2023-01-14 23:35:03 +08:00 |
|
Rock Chin
|
fa967c3c89
|
feat: 增加对插件钩子返回值的支持
|
2023-01-14 22:53:28 +08:00 |
|
Rock Chin
|
6d81821557
|
feat(plugin): 支持多个事件
|
2023-01-14 22:37:16 +08:00 |
|
Rock Chin
|
56664f9fbc
|
refactor(qqbot): 独立指令和普通消息处理逻辑
|
2023-01-14 20:34:33 +08:00 |
|
Rock Chin
|
eb1564a3dd
|
feat: 增加prevent_default和prevent_postorder的支持
|
2023-01-14 19:59:51 +08:00 |
|
Rock Chin
|
d5c6d43ddf
|
feat: 完善几个事件的参数
|
2023-01-13 23:26:52 +08:00 |
|
Rock Chin
|
da5b1cf3fa
|
feat: person_message和group_message的事件钩子
|
2023-01-13 23:13:54 +08:00 |
|
Rock Chin
|
78c1ad16ce
|
feat: 基本插件加载功能
|
2023-01-13 16:49:56 +08:00 |
|
Rock Chin
|
9962a6ebcc
|
feat(keymgr.py): 热重载后重置超额记录
|
2023-01-13 15:34:28 +08:00 |
|
Rock Chin
|
36def20a07
|
debug: RateLimitError时以debug输出异常对象类型
|
2023-01-12 14:37:42 +08:00 |
|
Rock Chin
|
c7689d3c89
|
feat: 不再向openai completion api提供timeout参数
|
2023-01-11 12:22:11 +08:00 |
|
Rock Chin
|
dfa8621a1a
|
feat: 完全删除费用估算功能 (#81) (#96)
|
2023-01-10 14:54:50 +08:00 |
|
Rock Chin
|
f884313d72
|
perf: 优化导入
|
2023-01-09 22:19:37 +08:00 |
|
Rock Chin
|
7afe5f39bf
|
fix: 群内消息不回复的问题 (#94)
|
2023-01-09 21:15:13 +08:00 |
|
Rock Chin
|
77bf1c7d8e
|
Merge branch 'master' into program-level-restriction
|
2023-01-09 12:26:51 +08:00 |
|
Rock Chin
|
9d31d8b071
|
perf: 超额时的提示信息
|
2023-01-08 20:43:37 +08:00 |
|
Rock Chin
|
5256d3c718
|
debug: 删除上报调试信息
|
2023-01-08 16:33:33 +08:00 |
|
Rock Chin
|
c662e2c4e3
|
fix: url过长导致的上报失败
|
2023-01-08 16:32:27 +08:00 |
|
Rock Chin
|
06264354cf
|
fix: 超时不重试的问题 (#91)
|
2023-01-08 14:49:23 +08:00 |
|
Rock Chin
|
2dcbe87986
|
feat: 函数超时时控制台输出警告
|
2023-01-07 23:26:22 +08:00 |
|
Rock Chin
|
bf7487fafe
|
feat: 支持禁用某人或某群
|
2023-01-07 16:50:34 +08:00 |
|
Rock Chin
|
0afc2d5903
|
fix: 过长url导致的上报失败
|
2023-01-07 00:25:03 +08:00 |
|
Rock Chin
|
2d62b5937e
|
feat: 支持!resend指令重新回复上一个问题 (#87)
|
2023-01-07 00:08:22 +08:00 |
|
Rock Chin
|
97ddb10ff5
|
fix: main.py中错误的预引用顺序
|
2023-01-06 13:50:45 +08:00 |
|
Rock Chin
|
bd920cedf5
|
feat: 输出版本时检查是否有新版
|
2023-01-05 21:07:17 +08:00 |
|
Rock Chin
|
ee76929fee
|
perf: 更新时的通知逻辑
|
2023-01-05 21:04:52 +08:00 |
|
Rock Chin
|
8bb8a72060
|
perf: 更新内容通知的逻辑
|
2023-01-05 21:01:37 +08:00 |
|
Rock Chin
|
dcc5d40a04
|
feat: 更新之后通知管理员提交记录
|
2023-01-05 21:00:17 +08:00 |
|
Rock Chin
|
3bebeb4d99
|
feat: 启动时检查是否有新版本并通知管理员
|
2023-01-05 20:52:59 +08:00 |
|
Rock Chin
|
7ca8dcfb6a
|
perf: 进行更新时提示耐心等待
|
2023-01-05 15:52:45 +08:00 |
|
Rock Chin
|
948b0f4df9
|
feat: 上报时包含版本信息
|
2023-01-05 15:50:45 +08:00 |
|
Rock Chin
|
584cacba6c
|
fix: !version时间显示根据时区转换
|
2023-01-05 15:41:13 +08:00 |
|
Rock Chin
|
45ed06be64
|
fix: !version时间显示为commit_time
|
2023-01-05 15:35:29 +08:00 |
|
Rock Chin
|
3dec627d40
|
feat: 增加!version指令
|
2023-01-05 15:34:14 +08:00 |
|
Rock Chin
|
35854bc81c
|
feat: 支持!~形式的配置修改指令 #71
|
2023-01-04 22:24:40 +08:00 |
|
Rock Chin
|
07923f71bd
|
feat: 支持聊天窗管理员修改运行时配置项
|
2023-01-04 21:46:01 +08:00 |
|
Rock Chin
|
1015c6fa1f
|
feat: 上报使用量信息时的异常处理
|
2023-01-04 18:10:49 +08:00 |
|
Rock Chin
|
013a9def25
|
feat: 上报使用量信息
|
2023-01-04 17:59:10 +08:00 |
|
Rock Chin
|
95ad911a6c
|
feat: 运行时原动态引入config的地方现在均使用初始化时导入的config对象
|
2023-01-04 17:09:57 +08:00 |
|
Rock Chin
|
b318f6d4f0
|
perf: 完善启动时的Troubleshooting信息 #84
|
2023-01-04 12:02:56 +08:00 |
|
Rock Chin
|
de869c3df8
|
doc: 在README.md链接wiki
|
2023-01-03 20:11:05 +08:00 |
|
Rock Chin
|
f49262d98c
|
perf: !usage指令的显示
|
2023-01-03 17:54:54 +08:00 |
|
Rock Chin
|
e06a2535dd
|
feat: 新增使用量统计功能,与key切换脱钩
|
2023-01-03 17:50:13 +08:00 |
|
Rock Chin
|
b9250908c8
|
feat: 使用量估算值不再与key切换挂钩,现在仅根据接口报错进行切换
|
2023-01-03 00:02:18 +08:00 |
|
Rock Chin
|
2e3befea54
|
feat: 超额报错时不再将当前使用量设置为最大值
|
2023-01-02 23:17:57 +08:00 |
|
Rock Chin
|
36c8a5846d
|
feat: 现在默认不自动根据估算的费用切换apikey
|
2023-01-02 21:03:02 +08:00 |
|
Rock Chin
|
8aa1dd24ac
|
debug: 添加上报费用的debug信息
|
2023-01-02 20:42:08 +08:00 |
|
Rock Chin
|
b73c0e7438
|
perf: 优化导入
|
2023-01-02 13:43:12 +08:00 |
|
Rock Chin
|
0dc7781325
|
fix: updater中错误的dulwich预引用
|
2023-01-02 13:37:28 +08:00 |
|
Rock Chin
|
cd8d03e8ff
|
feat: 更新完成的提示信息
|
2023-01-02 13:28:32 +08:00 |
|
Rock Chin
|
a93f681913
|
test: 删除热更新测试代码
|
2023-01-02 13:25:19 +08:00 |
|
Rock Chin
|
4dac9ac067
|
test: 测试热更新
|
2023-01-02 13:24:19 +08:00 |
|
Rock Chin
|
85471fd0df
|
doc: 添加热重载相关注释
|
2023-01-02 13:06:48 +08:00 |
|
Rock Chin
|
f5bf012ba7
|
perf: 自动更新失败时提示手动更新方法
|
2023-01-02 12:56:52 +08:00 |
|
Rock Chin
|
27dbd470a7
|
perf: 自动更新时的异常处理
|
2023-01-02 12:54:51 +08:00 |
|
Rock Chin
|
3b5bc5e857
|
feat: 提示未知指令
|
2023-01-02 12:46:38 +08:00 |
|
Rock Chin
|
61cd2bfff3
|
perf: 完善重载后的启动流程
|
2023-01-02 12:00:10 +08:00 |
|
Rock Chin
|
14154bafd0
|
feat: 热重载前后更新bot事件订阅
|
2023-01-02 11:33:26 +08:00 |
|
Rock Chin
|
bc3cffa041
|
fix: 重载启动新的bot线程导致原线程中止
|
2023-01-02 11:06:04 +08:00 |
|
Rock Chin
|
16d7cc7d18
|
feat: 持久保存bot对象以成功重启
|
2023-01-02 00:35:36 +08:00 |
|
Rock Chin
|
91e13e6128
|
fix: 群消息超时时未释放锁造成死锁
|
2023-01-02 00:11:10 +08:00 |
|
Rock Chin
|
82e3ef6497
|
feat: 重载后恢复诸个单例对象
|
2023-01-01 23:18:32 +08:00 |
|
Rock Chin
|
7e83ba3f77
|
feat: 支持指令操作热更新和热重载
|
2023-01-01 22:55:09 +08:00 |
|
Rock Chin
|
3b1a72358e
|
feat: 热更新和热重载功能
|
2023-01-01 22:52:27 +08:00 |
|
Rock Chin
|
987a2d2fb3
|
fix: 私聊不可用 #74
|
2023-01-01 19:19:04 +08:00 |
|
Rock Chin
|
e2441165c9
|
feat: 被禁言时不处理消息 #62
|
2023-01-01 18:27:34 +08:00 |
|
Rock Chin
|
b085c133bf
|
feat: 支持设置回复时引用原消息 #73
|
2023-01-01 17:20:54 +08:00 |
|
Rock Chin
|
88ec74c0a4
|
perf: 回复图片时带上prompt #70
|
2022-12-31 00:06:10 +08:00 |
|
Rock Chin
|
35992397e6
|
fix(keymgr.py): 不正确的keyname索引方式
|
2022-12-29 11:30:43 +08:00 |
|
Rock Chin
|
b2ee62646c
|
perf: 修改成美元
|
2022-12-28 00:14:41 +08:00 |
|
Rock Chin
|
dbcacdefc3
|
perf: 更加精细的费用记录
|
2022-12-28 00:11:25 +08:00 |
|
Rock Chin
|
0b7d9a4a46
|
perf: 删除过时的usage相关字段
|
2022-12-28 00:06:41 +08:00 |
|
Rock Chin
|
7ed558056f
|
feat: 使用费用估算替代字数额度估算 #47
|
2022-12-28 00:05:25 +08:00 |
|
Rock Chin
|
7b5d47a2ca
|
perf: 回复图片时控制台输出
|
2022-12-27 23:01:04 +08:00 |
|
Rock Chin
|
74fb8ef15c
|
feat: 初步支持绘图api
|
2022-12-27 22:52:53 +08:00 |
|
Rock Chin
|
4de70abf47
|
perf: The server is overloaded or not ready yet.时进行中文提示 #59
|
2022-12-26 23:59:45 +08:00 |
|
Rock Chin
|
5c0cd841f9
|
feat: process_message函数现在返回消息链
|
2022-12-26 23:53:56 +08:00 |
|
Rock Chin
|
502082aa15
|
fix: 只有一个apikey并过期切换时不停输出apikey值
|
2022-12-26 20:56:52 +08:00 |
|
Rock Chin
|
043b2f0198
|
refactor: 独立消息处理函数
|
2022-12-26 19:37:25 +08:00 |
|