koishi icon indicating copy to clipboard operation
koishi copied to clipboard

Cross-platform chatbot framework made with love

Results 115 koishi issues
Sort by recently updated
recently updated
newest added

### Describe the bug 在别的客户端发送消息时,该消息无法被koishi插件处理,这是不应该的 ### Steps to reproduce https://github.com/koishijs/koishi/blob/e496ddb884fddd3d7194ac28fc28b1fdc375b6e3/packages/core/src/middleware.ts#L238 ### Expected behavior 这个判断删了,或者加个开关 ### Screenshots _No response_ ### Versions 平台无关 ### Additional context _No response_

bug
expected

### Describe the bug 事件触发`bot.sendMessage`异步并发发送多条消息时,出现交叉及乱序的情况。 ### Steps to reproduce 例如在两个事件中向不支持图文混排的bot实现(如[`plugin-adapter-telegram`](https://koishi.chat/zh-CN/adapter/telegram.html))发送`测试消息`可能出现: ``` 测试 测试 消息 *图片* 消息 *图片* ``` ### Expected behavior 同bot内异步消息应同样保持调用顺序且不应交叉。 ### Screenshots _No response_ ### Versions - OS:...

bug

### Describe the bug 重载koishi-plugin-puppeteer出现报错 ### Steps to reproduce 更改koishi-plugin-puppeteer配置后重载,或停用后再启用 另:借曾经一个issues [#1105](https://github.com/koishijs/koishi/issues/1105)中的代码进行了复现 ### Expected behavior 插件可正常运行 ### Screenshots 报错日志 ``` 2024-05-18 07:38:45 [E] app Error: service component:html has been registered...

bug

### Describe the bug 当指令参数的 image 是某个元素的子元素,会提示参数输入无效。 格式:`` ### Steps to reproduce ![03705aaeb37885bde2c900c2141e024f](https://github.com/koishijs/koishi/assets/96647698/f8fadb3f-9d81-4aeb-82ba-0f2f7b6d0743) 使用 adapter-red,调用该指令,gif 参数为商城表情。 ### Expected behavior 支持 fallback ### Screenshots _No response_ ### Versions - OS: Windows...

bug

### Describe the bug /home/container/node_modules/@koishijs/loader/lib/index.js:50 static { ^ SyntaxError: Unexpected token '{' at wrapSafe (internal/modules/cjs/loader.js:1029:16) at Module._compile (internal/modules/cjs/loader.js:1078:27) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10) at Module.load (internal/modules/cjs/loader.js:979:32) at Function.Module._load (internal/modules/cjs/loader.js:819:12) at Module.require (internal/modules/cjs/loader.js:1003:19)...

bug
has solution
env specific

### Describe the bug ^ ### Steps to reproduce 1. 创建并启用以下插件,设置过滤器:`平台 等于 onebot` `群组 ID 等于 123456789` ```js export const name = "greet" export function apply(ctx) { ctx.on("guild-member-added", session =>...

bug

### Describe the bug 如题 ### Steps to reproduce 每次打开koishi ### Expected behavior 没有白色窗口 ### Screenshots ![image](https://github.com/user-attachments/assets/620de865-72c3-479e-9e43-ccccbe5ccb85) ### Versions - OS: Windows Server 2022 - Platform: Tencent QQ - Node...

bug

### Describe the bug Koishi Market能够刷新出插件列表,但是点击任何未安装插件试图安装时都会卡在“正在加载版本数据……”部分。 日志报错 2024-10-14 08:32:58 [W] market Invalid URL ### Steps to reproduce 持续于本机出现,且已经排除了本机网络问题。 由于我并未部署第二个Koishi框架,我无法给出准确的复现步骤。 ### Expected behavior 应当能正确读取插件信息并安装 ### Screenshots 2024-10-14 07:18:07 [W] market Invalid...

bug

### Describe the bug 使用adapter-satori适配器发送消息时,message.create接口会被调用两次 第二次调用的content参数为空(空消息),且仅在第一次调用完成后触发 ### Steps to reproduce 配置好adapter-satori插件,让机器人随意发送一条消息即可触发 ### Expected behavior 排除错误的调用 ### Screenshots _No response_ ### Versions - OS: Windows11 - Platform: Satori - Node version:...

bug