You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Notable Changes
checkArgCount
的指令生效,并计划于未来版本中默认生效 (9d831f6)cmd.alias()
支持带参数的别名,用法与cmd.shortcut()
类似,并将在未来逐步替换 Shortcut API (5188f64, koishijs/webui@91852c1)<button>
元素,目前已经可以在 Discord, Line, QQ, Telegram 平台中使用 (satorijs/satori@3b5e235, satorijs/satori@2b23ad8, satorijs/satori@2eceeb0, satorijs/satori@744624b, satorijs/satori@b7f4632, satorijs/satori@f5d6750, satorijs/satori@f129772)Features
http.isPrivate()
支持了 IPv6 (feat(axios): support ipv6 for isPrivate satorijs/satori#160) (satorijs/satori@c7fd6a3, satorijs/satori@6846849)bot.sendPrivateMessage()
新增了三参数guildId
(satorijs/satori@6ae3b0d)getGuild
,getMessage
,getUser
等 (feat(lark): support getMessage and getMessageList satorijs/satori#162) (feat(lark): support getUser satorijs/satori#164) (feat(lark): add getGuild / getChannel / getGuildMemberList etc satorijs/satori#165) (satorijs/satori@823998a, satorijs/satori@7d21997, satorijs/satori@bc27bbf)root
配置项支持了数组类型,意味着可以同时接受多个本地化目录 (koishijs/webui@eee59bb)token
配置项,用于 Satori 协议的鉴权 (satorijs/satori@f3a8497)Bug Fixes
ctx.i18n
和ctx.schema
部分副作用没有被正确回收的问题 (插件给命令配置页面 增加 schema 之后 卸载插件不会移除 webui#215) (87d665a)string
和text
类型指令参数将不在自动转义 (BUG:sandbox中&被转换成&传递到command参数中 webui#195) (d8f9ba8)undefined
时会创建空对象的问题 (Bug: satori server with kook adapter get a blank guild object satorijs/satori#166) (satorijs/satori@7e53297)session.event.member
等属性缺失的问题 (satorijs/satori@4c30cbf)plugin.update
不使用最新版本的问题 (Bug(market): plugin.upgrade 命令执行更新前应当刷新缓存的插件市场数据。 webui#226) (fix(market): refresh before update, fix #226 webui#228) (koishijs/webui@226cba7)GROUP_MESSAGE_CREATE
事件将自动填充<at>
元素作为前缀 (satorijs/satori@49222c6)status
指令输出错误的问题 (fix(status): command invalid interpolation webui#230) (koishijs/webui@c336898)Other Changes
bot.sendMessage()
返回消息中缺少id
satorijs/satori#159 (satorijs/satori@0b99c85)This discussion was created from the release Koishi 4.15.1.
Beta Was this translation helpful? Give feedback.
All reactions