koishi
koishi copied to clipboard
Cross-platform chatbot framework made with love
S3 provides public assets with encoded filename. it should be encoded here.
fix #764
fix #764
## Adapter migrate to @satorijs: - [x] @satorijs/core - [x] @satorijs/env-node - [x] @satorijs/message - [x] @satorijs/adapter-onebot - [x] @satorijs/adapter-discord - [x] @satorijs/adapter-telegram - [x] @satorijs/adapter-qqguild - [x] @satorijs/adapter-kook -...
### Describe the bug 1) 使用 `new Logger('xxx')` 方法创建的 logger 不会显示时间 2) 使用 `ctx.logger('xxx')` 方法创建的 logger 会显示时间 ### Steps to reproduce 用 `koishi.config.js` 作为入口启动(应该有影响) ```typescript // ... export const name...
### Describe the problem related to the feature request https://github.com/satorijs/satori/blob/ea0ab178e7c11cf006dc1f4e3b29d1a3aeec5477/adapters/telegram/src/sender.ts#L165-L172 1. 作为一个指令向机器人,发送的链接大部分时候并不需要生成预览。如果默认禁用的话,可以比较方便的使用 https://t.me/botname?start=xxx 之类的功能 2. 现阶段的 API 设计似乎没法同时兼容两种方法,就有点难受(x) ### Describe the solution you'd like 在表单中默认追加 `disable_web_page_preview: true`,或者 ↓ ### Describe...
### Describe the problem related to the feature request 根据文档,定义的指令可以选用带有用尖括号包裹的**必选参数**,但 koishi **默认**并不会对必选参数是否为空进行检测,这并不好。 翻阅文档,这正是因为指令配置中 `checkArgCount` 的缺省值为 `false` 造成的。 窃以为,**可选参数**才是进阶编程的操作,koishi 应当默认对必选的空参进行强检测,减少开发者的代码量。 ### Describe the solution you'd like 如题,应令 `true` 成为指令配置中 `checkArgCount` 的缺省值。...
### Describe the bug 当 command 存在 alias 的时候 plugin-help 会重复注册 `-h` `Error: duplicate option name "h" for command "brainfuck"` ### Steps to reproduce 将 plugin-help 移动到存在 alias command 的插件后,启动...
### Describe the problem related to the feature request 网站图片空缺,我设计了一个,拿走吧 > <   ### Describe the solution you'd like 无 ### Describe alternatives you've considered _No response_ ### Additional...
### Describe the bug 在指令限制功能启用时, 被用户所调用的指令进入冷却状态后,也会增加调用次数 ### Steps to reproduce [详细看截图](https://gyazo.com/79c4838c9d1c229f50ec72c5552aa4da) ### Expected behavior 希望冷却中不会增加调用的次数。 以及,那个调用过于频繁的自动回执, 如果能改为 “调用过于频繁,请后再试“ 或许会更好懂些 ### Screenshots _No response_ ### Versions - OS: - Platform: -...
本 issue 包含官方计划在 v4 阶段实现,但不计划在下个 minor 版本实装的特性。 - Plugin Pack - Partial Reload - Console I18n - Secure Mode - ESM Support - Slash command - Message component - #595...