-
我正在使用 `koishi-thirdeye` 注册事件,但无法在方法中正确使用装饰器进行获取对应变量。
```typescript
@UseEvent('qq/guild-member-add')
// onGuildUserJoin(@PutSession() session: QQ.MemberWithGuild, @PutBot() bot: Bot) {
// o…
-
### Describe the bug
控制台对 `prefix` 添加空项时,该项会变为 `null` 写入配置文件,进而导致 Koishi 启动失败。
### Steps to reproduce
使用 Koishi v4.7.6(Koi v0.2.3)直接添加 prefix 项并点击保存配置
![image](https://user-images.githubus…
-
### Describe the problem related to the feature request
1.可以让某些纯前端插件跨 Koishi 实例使用
2.同步主题&部分配置
3.可以随时更新 Koishi 前端 API (@koishijs/client 随着网站中的版本更新而更新)(可以快速修复一些bug啊?提反馈的时候也可以直接使用这个页面测试最新版有没有修复..?
…
-
上面的代码会在启动时多次触发更新请求,在部分平台上会导致 429。建议增加防抖机制。
-
### Describe the bug
在创建新的Adapter和Bot时,如果按照官方文档给出的方式进行定义,会出现"类型Context与C无法兼容“这一TS报错。
我高度怀疑这是因为Koishi和Satori的Context定义不同,而且存在不兼容部分。
### Steps to reproduce
1. 创建新项目
2. 书写以下示例代码:
```typescript
i…
-
![image](https://user-images.githubusercontent.com/108851959/232209890-9686f080-3b95-4f3b-b11d-3576dc5ff402.png)
![image](https://user-images.githubusercontent.com/108851959/232209902-d5a5f9d4-94f5-4…
-
输入:`translate hehe`
预期结果:
```
原文本:hehe
语言:EN -> ZH
翻译结果:嘿嘿
```
实际结果:
```
原文本:hehe
语言: ->
翻译结果:嘿嘿
```
手动填写参数后表现正常
在KOOK下测试结果如下:
![image](https://github.com/DreamOfIce/koishi-plugi…
-
目前的 Node LTS 已经是 18 版本了,Node 16 将在 2023/9/11 进入 EOL。因此需要做出以下应对:
1. 将 Koishi 产品线的所有 Node 版本调整为 ^16 || >= 18,开发相关可以先行更新,生产相关与 Node.js 同步更新
2. 移除此仓库内的 Node 14 构建,将 Node 16 构建转变为 Node 18
我们计划于 Kois…
-
```
[W] sqlite > SELECT FROM `channel` ywyvinvk WHERE `platform` = 'onebot' AND `id` = '1105946125'
2023-07-17 23:42:05 [W] session /translate good
Error: near "FROM": synt…
-
如图所示