-
### Describe the bug
`hmr` 在包含循环引用的代码中触发多次reload并导致插件duplicate
### Steps to reproduce
测试插件包含两个文件:
index.ts
```
import { Context } from 'koishi'
import { Foo } from './foo'
export class…
-
先启用任意擦车插件
![image](https://user-images.githubusercontent.com/18106422/222466592-1fa78c67-d104-410d-96e7-7e9f1859d7b4.png)
在自己插件的 `package.json` 声明擦车:
```jsonc
/** package.json */
...
"koi…
-
### Describe the bug
开发模式下,插件修改保存后,出现以下错误,其中 tg api 启用了 socks 代理,tg 也报错了
```
2023-03-29 20:51:34 [I] watch reload plugin at plugins\chatgpt\src\index.ts
2023-03-29 20:51:34 [I] watch reload plug…
-
好像不能用a
没有显示具体指令
或者我该怎么使用(0.o?)
![Screenshot_20230425_062621](https://user-images.githubusercontent.com/128877938/234130052-22049526-714e-4097-a0a8-a76c5199d6a7.jpg)
-
### Describe the problem related to the feature request
![image](https://user-images.githubusercontent.com/25239977/229144957-1800e686-a113-4150-a252-b1baf0fe6794.png)
当前点击按钮后 koishi 无法收到任何相应
###…
-
### 发生了什么?
我升级到v1.6.2,webui界面没有市场
### 哪个版本?
我用v1.6.2和v1.6.1做了对比,错误只在v1.6.2上发生
### 日志或者错误记录?
我发现了在浏览器的console里面出现了
v1.6.2版本:
![image](https://user-images.githubusercontent.com/4016…
-
无法调用指令插值
是我操作问题吗,插件和koishi版本均为最新
`# test $(echo test)
07:50:44 #首次尝试
---
问答已添加,编号为 27。
07:50:44
---
test
07:50:47 #无反应
---
#27 ~ "$(嗯哼 echo test)"
07:54:51 #尝试带nickname的指令
---
问答…
-
### Describe the bug
在更新沙盒用户等级后,用户等级无法正确更新。刷新页面后:
- 用户权限会恢复到 1
- user 表中出现一个新的用户,权限正确
- binding 仍旧绑定旧用户的权限
### Steps to reproduce
创建模板项目,进入沙盒,创建用户,点击加号修改用户权限等级
### Expected behavior
…
-
### Describe the bug
我也不记得删除之前是否有禁用插件,现在报错:
```
2023-03-08 23:53:44 [W] market Error: Cannot find module 'koishi-plugin-user-middleware'
Require stack:
…
-
### Describe the bug
服务器信息22.04.1-Ubuntu SMP 2023 x86_64 x86_64 x86_64 GNU/Linux
使用linux方式安装报错:
root@ip-172-31-12-22:~/koishi# ./linux.AppImage
0000|2023-06-14 15:01:55 [I] launcher Koishi Deskt…