Cross-platform chatbot framework made with love
MIT License
Bot releases are visible (Hide)
Published by shigma over 1 year ago
Schema.filter()
和 Schema.computed()
,它们允许某些配置项在不同的会话中有不同的值<k-filter-button>
,用于弹窗配置过滤器 (koishijs/console@a8c06b90d1fec96ae9fa55643cb5eebe242d6dee)prefix
和 nickname
支持了计算属性 (koishijs/koishi@b47c182ca852eda60954b418dfa8427b583cbb52)$switch
类型 (shigma/minato@c0d206ec7a24b4ced05277f4b44ec65076dfb1c3)linkPreview
(koishijs/koishi#767) (satorijs/satori#74) (satorijs/satori@50cc9301dad8735cdbbec43e4c2d12b677bda48f)role('table')
(shigma/schemastery@1367c302dc15b734dd26fd6800d6c6dabb181c96, shigma/schemastery@3d2dc19391d001e01bc51d5d415d8460c9bb4230)role('color')
(shigma/schemastery@3be75d84e6249506e1d35624b0f1b6003b434f43)role('filter')
(shigma/schemastery@1fdad3259d136005d3bd4a2568aa4fca5eda9aa2)role('computed')
(shigma/schemastery@7f283cc1b98c0d8850b2f7b9f72d2748f2a95842)element.toString(true)
含有转义字符的问题 (satorijs/satori@de151f0f27d2658b7d8b23701c54841b638da99f)Published by shigma over 1 year ago
peerDependenciesMeta
在插件配置界面不起作用的问题 (koishijs/console#96) (koishijs/console@40af18fe08633556940ca0f80124ad68c64bab46)Z
会被错误替换为 undefined
的问题 (shigma/minato#17) (koishijs/koishi#955) (shigma/minato@30f9aef87946cd5e9482e227f9175d37ef2bbcf4)list
序列化可能报错的问题 (shigma/minato#18) (shigma/minato@1679cba229b3bd087c56b0173e17fcb2e75340fe)cmd.getConfig()
in favor of ses.resolve()
(koishijs/koishi@dbfd581bc2cac998518b45520ed72e6e95aed103)Published by shigma over 1 year ago
console/connection
事件,可用于监听连接数变化和鉴权更新 (koishijs/console@87e67178fb57f3ab5d3b7ec60001283f6da2532b)filter
和 computed
类型 (koishijs/koishi@1b884138dc3f9db3a2fead317457b9553db4f4e8)transform
类型的第三个参数,用于控制转换后的数据不写回上级结构 (koishijs/koishi#952) (shigma/schemastery@28b53592ff5b726cf1fd6bc63104ac0165ed2ded).toString()
结果异常的问题 (shigma/schemastery#17) (shigma/schemastery@aa3a3238eea09cf9f1ec3bc4798d0ce40c506339)status
指令返回的机器人状态缺少换行的问题 (koishijs/console#94) (koishijs/console@8bb65982640ab42945acb10330822b21ec698cb0)Published by shigma over 1 year ago
scope.status
和 scope.ensure()
(shigma/cordis@006c868e2fd719800d68d5d5fa0d07dfc3f42112, shigma/cordis@2692b15fa5fccfd37969bcf1e2518c9ce44ed88d, koishijs/koishi@219b886bc084dd02a302cff0ccf3145f84fd156b)$regex
运算符以及正则表达式相关类型 (shigma/minato@994d2cc01392ce758690793c26b068f349d79bc2)maxLength
现在将独立作用于每一个输出行了 (shigma/reggol@7c584b237a80d6389c7b2a52579dfe818a6b147d)ctx.match()
对于 at 机器人以外的用户时异常响应的问题 (koishijs/koishi#900) (koishijs/koishi@b4bd9751562d5a6c118701c5562f3f8493eae25e)Published by shigma almost 2 years ago
resume_gateway_url
的重连 (satorijs/satori@622837ee2d4050fa9d8d6494215675f7e40613b9)bot.sendPrivateMessage()
(koishijs/console@80c2d5f0c497b42864c15007e032220076472205)SendOptions
的问题 (satorijs/satori@da47c88674bab7673fe080cc9eacdf8804124d2c)errorHandler()
插值错误的问题 (koishijs/koishi#926) (koishijs/koishi@076eb7318a6b8584a6a6f7a34a571b576e7bfc23)intersect
类型的部分子类型消失的问题 (shigma/schemastery#30) (shigma/schemastery@082f458fa08c8f5d0c17231bdf68831b2448505f)union
类型中对象的标题未正常显示的问题 (shigma/schemastery@f7c0e0508383c0cdbd5e851f851e23e0981177d8)store.users
to store.sandbox
(koishijs/console#73) (koishijs/console@4e88334e0b36be581375d2509cc4b01537a20fdb)Published by shigma almost 2 years ago
$filter
过滤会话上下文 (koishijs/koishi@e504875c5391fb71201f25bdfd80ab7e9e048c0f, koishijs/console@4b1cbd2bef6ef6012dcbfbd3bf7feff54c863522, koishijs/console@6a4f28d3187cf91a007edcc79174fecd1baace6a, koishijs/console@376f66ade1ca1aa7adf59d29100a520c1e18daac)ctx.broadcast()
中使用 <i18n>
了 (koishijs/koishi#901) (satorijs/satori#60) (koishijs/koishi@345ab9df95423fc9f97a8b90b2263e2cb32025b4, satorijs/satori@9281bfd9367daabea9255764455c94eae5682efe, koishijs/koishi@f98ca2ce88ffeea55df6512af712575b8823d436, (satorijs/satori@febfcbb19737b91cd46898b28f8336676da30001)ctx.http.axios(config)
不带 url
参数的用法 (satorijs/satori@1ec59f1f277ccc71fea9a2cc7e94e922cd9ee79e)usage
以提供插件的配置说明 (koishijs/console@c7ee29dd6065573c12958cb417849f04e671b43f)$in
和 $nin
作为表达式运算符 (shigma/minato@0add828b9a7f1157575c36e8c2462cb7e4c73ba7)--help
指令副作用没有清除的问题 (koishijs/koishi#903) (koishijs/koishi@3fb88bef2049492699f82ffb0a2c73c4f7314b22)bot.getGuildMemberList()
参数丢失的问题 (satorijs/satori#59) (satorijs/satori@95cbe8dd920225852b05b8433512ffe97cbca341)contributors
实际上显示成 maintainers
的问题 (koishijs/console@b3f805027217ae3ea11887d4fd721efb0522ba73)record
未转换为 audio
的问题 (satorijs/satori#54) (satorijs/satori@5e51bb57bc9767dd7e8bd77b2df4849d88f75e9e)db.stats()
导致后续 regexp
报错的问题 (shigma/minato#12) (koishijs/koishi#894) (shigma/minato@b97163c6d2a958f54f0129688152b471102f6f62)<at>
解析错误的问题 (koishijs/koishi#907) (satorijs/satori#62) (satorijs/satori@45f23480fcfe97e4d6dc3db2259f7f57733882f3)Published by shigma almost 2 years ago
base64:
协议,转为更标准和通用的 data:
协议 (satorijs/satori@106b821da37309d95379f4e9606670d74fa9889b)
h.image(buffer)
,现在需要你额外传入一个 mime type 作为第二个参数,例如 h.image(buffer, 'image/png')
db.drop(table)
的用法 (shigma/minato#11) (shigma/minato@872a9cf6b10b47491b4b7e2bfef8a0f7cf0c8560)params
属性,可用于帮助的本地化插值 (koishijs/koishi#845) (koishijs/koishi@5d5f2854695b2de2d38feddd19baa93d5143da35)$if
后可以直接是表达式,不需要插值了 (koishijs/koishi@637cfdc652100d434a247a3089adb4649b97a48f)peerDependencies
是否可选了 (koishijs/console@521ef2a285d3877104690b9f2896c2e22e3a253f)peerDependencies
的插件而不是它们对应的服务 (koishijs/console@3be1b0bdea0a431244bcc8013a6eac5eb07e9428)cmd.shortcut()
行为错误的问题 (koishijs/koishi#818) (koishijs/koishi@c85f20a7b498394d55be886aa0b9c9c69d5ac616)0
和 false
在插值时会丢失的问题 (satorijs/satori@ce8081ff73dddd58aa45be4153b4605d41d29924)session.send()
实现可能报错的问题 (koishijs/koishi@e07ebbcf5b4d5eada756d5c09b0487def05a9574)unique
约束没有忽略空值的问题 (koishijs/koishi#893) (shigma/minato@17c98ea394c610824d59d31000aed9af269d2836)Date
数据可能导致唯一性错误的问题 (koishijs/koishi#667) (shigma/minato#13) (shigma/minato@8ebeff3bd20f99443b53b5b46b31c75d522d3724)Published by shigma almost 2 years ago
session.fid
属性,可用于限定会话上下文 (satorijs/satori#56) (satorijs/satori@c3a73bac74ea741cdbf18cebb8f954bcca840c36)$filter
配置项,可以为插件和插件组提供会话过滤功能 (koishijs/koishi@ec76d7bc95c2e0a1cf468a24fc5d2b6e50484727)$if
配置项,可以控制插件和插件组是否加载 (koishijs/koishi#874) (koishijs/koishi@2b661215b58a53fc1fbd112196b3b54d8f944598)ctx.shared
to ctx.envData
(koishijs/koishi@a98857db7ed307a6d7bcd8a5577ffca4c937b93d)Published by shigma almost 2 years ago
ctx.shared
,它将允许 Koishi 插件在多次启动时共享数据 (koishijs/koishi@59099ea87c7fb7f537a6ba7869c3bffa48694f1d, koishijs/koishi@37bf88d1c12f0f202de72e966b32d41e9250ee69)
port
设置为 ${{ +env.BASE_PORT }}
passive
属性来绕过这个行为 (koishijs/koishi@d8f126478ec20ae89474acee4865f57ea989c1dc)$unset
数组会报错的问题 (koishijs/koishi#867) (shigma/minato@1d41e666467fe144129048ef943c078861f5a1a0)deepEqual()
现在不再区分 null
和 undefined
了 (koishijs/console#14) (shigma/cosmokit@db8c96b8c3d331a2dd09ca17d999ec5ac3108659)Published by shigma almost 2 years ago
ctx.matcher()
(koishijs/koishi@76480b62263de34e33f89282f33372b3c1cd26ad)bot.sendMessage()
等方法的选项作为 before-send
事件的二参数 (satorijs/satori@ab819540e588d3c938e17100b61b6d0321bb8740)h.normalize()
传入二参数作为插值上下文 (satorijs/satori@aa0bce4e101c26e7d5a49f64b96305ca43f31f0f)schema.simplify()
(shigma/schemastery@d9419e02751dd616c4696963f4beccc1231f715c, shigma/schemastery@8ac18a77118c3f6d3982d859102bdffa5c78cda7, koishijs/koishi@f3948c192d6b0c29e04d236c903a24f1f92ff126)-0, --reset
选项,用于恢复到上一个版本 (shigma/yakumo@0c1deded8436358f668e788ad5bc2f3d06fd2023)list
类型的序列化错误问题 (shigma/minato#10) (shigma/minato@367a07befa9331336700562c165f709904493044)Published by shigma almost 2 years ago
ctx.match()
,它提供了一套轻量高灵活度的问答系统,会被内置用于 cmd.shortcut()
的处理,你也可以用它实现更多的功能 (koishijs/koishi-plugin-dialogue#4) (koishijs/koishi@0bb491c980ee0fdc0179cfc9cf57316be6fbcada, koishijs/koishi@1d46c4caafcc6984bf212b2a03c91c6ae751fad2)ctx.i18n.find()
,它可用于反向从文本库中检索特定的输入 (koishijs/koishi@91ba48061c6966b6d7ea6ad759a2e16f95584a0e, koishijs/koishi@cb3670280b4427f3f0094a6a70d241ac11384714, koishijs/koishi@e705dae44a2ead49542997f62b7e159701bfb626)config.search.proxyAgent
配置项 (koishijs/console@f015fa76ac6dc1c299d5dc3273a4c258802eeda6)session.prompt()
的处理 (koishijs/koishi@c3ff85014eba96ad1b61fbd5b4fd1a983214e709)tsconfig.json
文件中加入了 JSX 支持 (koishijs/console@5f1be7983bdf71589307ee37bca7b68061055237)status
指令,用于查看运行状态 (koishijs/console#35) (koishijs/console@e1c037e8b1837dc521db2c9322217e8c390a5bc3)h.transform()
回调返回的字符串没有被重新解析的问题 (satorijs/satori@1be1ca14929f52a0795d5312e89646c957225656)bot.request()
无法正常处理 GET 参数的问题 (satorijs/satori#48) (satorijs/satori@cca82a172aca34917cf8126a6b9f0d070ad05e35)_id
的问题 (cosmotype/cosmotype@87602881f16236da5d5a91cd0547bb0db146c8b8)<message forward>
行为错误的问题 (satorijs/satori@cd1078747f8d5662970b473986fd2c866a67e03a)Published by shigma almost 2 years ago
before-send
事件 (koishijs/console#48) (koishijs/console@6b72b4c81b6573672ff49fb376275918694f1c32)bot.deleteMessage()
(koishijs/console@1dd3983c9facf11dc3461cfeb447cbe1c68fabc4)transform
三参数的问题 (satorijs/satori@9df30a67c3751d5e75264be090ec5411305c936b)loader.writable
(koishijs/koishi#852) (koishijs/koishi@e503a4d3e8462e068228cbf071d9c7f68d0f5520)sel.evaluate()
报错的问题 (shigma/minato@7c783dd9bf65aaac23a4b66aa7b043837af695a6)messenger.render()
(satorijs/satori@3e422238dff77fc13564ada495ffde9a2096afb2)Published by shigma almost 2 years ago
sel.orderBy()
和 sel.project()
支持了传入表达式,我们还全面支持了 sel.groupBy()
的使用以及上述语法的多次链式调用 (shigma/minato@48f59887a2bfd3f41731f7e7f57a19b35490a3c2, shigma/minato@18ca38f641ae071a9c101afbd870561b30b32e8f, shigma/minato@f3b010500331c943cfd5c770de3f85d060855206, shigma/minato@ee21ca0b0067d1544e197d9124b5c542c4819136, shigma/minato@a2cc97a70921567e27c11e82282dcb8f78f58ff9, shigma/minato@df7018b459aca386ef7a3b27bdd6b3066243f1b9, shigma/minato@ef5d4dc494b362182cac9de4c04162652af93718, shigma/minato@08b79e26732f8704ee1713228f179e3ff841f366, shigma/minato@71a2131f9d03d5104019b4f0f3e8d9442bb73e82, shigma/minato@1b9baba8675448acbd55db6b292490796aaaf85b, shigma/minato@8406302129528fe3870572fae189daf61637d6be, shigma/minato@214c1b9e2f20c3b911645a6006480e8380f141b4, shigma/minato@fde053e73a69a01cc7708b62a458167a65a72ae4, shigma/minato@ebfc888aa9d380d6008da6434904dffee4ee264d, shigma/minato@8cb5eacc2cbc19d46261c69cdb53a71d942481d4, shigma/minato@ed3bba1e6685ead208ce378a580198e7e9843bbb, shigma/minato@59fb230d4d0de4a51bd1569b9a77fba7cdf8d174, shigma/minato@dd4cdc7e0c831b80389b248383c37fe4931160d1, shigma/minato@dc92612f2ec7b674f2ca7f2bf0f289b08e8addbe, shigma/minato@f355434886f67f6eb42a2421b1d412317ae76220, shigma/minato@b5257707d18b7e9ddbb90c3c153d22066fa45931)splitMixedContent
配置项,自动在接收到的图文之间添加空格 (koishijs/koishi#847) (satorijs/satori@12451ce1f89743e9b8febdd2ea3f79a3bc67186a)Published by shigma almost 2 years ago
SessionError
类,可用于抛出可本地化的错误信息 (koishijs/koishi@374a6bdd04077dfc6f945c24dace06b9226462f5)<face>
元素 (satorijs/satori@6910a10dd685f709c76e5d04234b631e165538e5)<face>
元素 (satorijs/satori@b78700aa3dc3b29a09734e0d2639a7508a56d4df)ctx.http.file(url)
会报错的问题 (satorijs/satori#40) (satorijs/satori@1a7cddfade8aecd13707bd8b1ec2f907ba6d6f67)<>&
字符时会失效的问题 (koishijs/koishi@83a34072e9ddc93b90e66243c5bc8269546215e1)delete ctx.bots[id]
有概率报错的问题 (satorijs/satori@0001a511eb1b4938d64b0c204596deb63470d369)bot.sendMessage()
不传入三参数时会被解析为私聊的问题 (satorijs/satori@0cf6079e8d7216565596f48cc85ad2cde29462ca)bypassAuthority
导致的报错问题 (koishijs/koishi#830) (koishijs/koishi@c05d7562b61461d621c42410905cb8f0eac13e80)Published by shigma almost 2 years ago
user.id
的类型更改为 number
(koishijs/koishi@480832734e9c071408895595e181b3a18aa42faa)SendOptions
(satorijs/satori@32303444c1d27d558adf68e316eb41330332aca1, koishijs/koishi@2fbdd434d7f194d409ed17934550a100c4ec5f2c)autoInc
行为 (shigma/minato@48f93f1ea48826384c71290ad611fdbcffbee585, shigma/minato@ad352f7e17d24b89334443db9336dd055f223dca)<author>
元素 (satorijs/satori@c1c1c5e328c47bcf8fafdadc4c0a54afd524e0e7)Messenger
的报错问题 (satorijs/satori@fa2760de421fc2e5e3991bf390bb95ab9f122fdf)Published by shigma almost 2 years ago
此版本中我们重构了部分类型。请注意及时更新。
<b>
, <em>
, <del>
等) (satorijs/satori@81b9764b31870105d6f9facc0bbd57c2b019c860, satorijs/satori@8e0c6ea548dc4cd036c864d267593d611d4d53db, satorijs/satori@4673e4342c9cdeb6942e90525f4464b898e3382e)session.send()
、指令和中间件的返回值) 都接受数组了 (satorijs/satori@1e80a86046b5a82cf9fa6efb1d428b39aa3af533, koishijs/koishi@3b6322d262e8c8f5c1fdd1689738abe2de080550)ctx.selector
服务 (satorijs/satori@db171b216720f2fa2a2669644094ddc76f97e0b4)intersect
和 union
嵌套时可能发生部分属性无法显示的问题 (shigma/schemastery@1e94d3f0ae87ed0e274fcc39c159f5c9ab862be0)<at>
实现 (satorijs/satori@0d9356625fdbbc56b465eb4d0e252cb011f1d87e)<message>
elements (satorijs/satori@bc4cbe1a23c1b8f05c7c8d8ed4263cd5def4f44f)segment.normalize()
returns elements (satorijs/satori@df5db508ef1b66c8219cd03ed4c8b9f36bb4ae89)ctx.app
-> ctx.root
(koishijs/koishi@db6a69541f78f2516605f5b41abf6e71eac23d54)Published by shigma about 2 years ago
ctx.http.file()
(satorijs/satori@b006846b9ad5a5a0af1ad48b18bb90f1793c3c29, satorijs/satori@fc74832148c88b3406b06cf859cab90fe01c1798)<p>
和 <figure>
元素 (satorijs/satori@9e002d780d62c8ab76ca3ab19051c908aa8f4880)assets.download()
to quester.file()
(koishijs/koishi@ba7b44be3a00fc620523642b5e32162998c19981)Published by shigma about 2 years ago
ctx.emit()
和 ctx.parallel()
将会正常抛出错误了 (shigma/cordis@18387cd8c646a57a6b6a96b6b6fef75aea2f56da)<message forward>
元素 (satorijs/satori@46abf8df48d6dfcfd8904b48f7064a7a7718b673)post-format: array
推送格式 (satorijs/satori@d0aed66d8264d3e213892ba91db6c5ff8bd87fb5)bypassAuthority
属性 (koishijs/koishi#781) (koishijs/koishi@d1594efd8a213d0533af8296adfb55eb71ac992b)AggregateError
的输出 (shigma/reggol@af9e30f9c174bce7a44f00c5d330a330a74e88c0)sendQueued()
无法发送单个资源元素的问题 (koishijs/koishi@6fc01b80708221e703ddd7ad5bf8634c314989a0)type
属性类型应为 readonly string[]
(koishijs/koishi@810626529e1877cee839d3d66eeac2b9c7dd22fa)value
属性导致额外显示一行选项的问题 (koishijs/koishi@2db1d37deb673b5713791c8670d74c204bf43e24)config
事件的问题 (koishijs/koishi@57e4a4b5c6536b7caa86d4b591b341d6783e160d)<message>
元素 (koishijs/console@325bc4c0e4d1acc1bc90be74b05f52469d5b578d)portfinder
(satorijs/satori@88f5c11e9bb7cf083e58becc99affec1f74624bb)Published by shigma about 2 years ago
<message>
消息元素,它允许以一定顺序发送多条消息 (satorijs/satori@d1fbfcb9643eb77f1fb434785a20c85365dfc285, satorijs/satori@e5e87aaa8499b227d65ab9eda2267ca04fe50d97, satorijs/satori@3492a3a10598fcc70c4614305bdf4cf824659d02, satorijs/satori@112dafb5873742e49875ff0e938a14611a09e004, satorijs/satori@11edc4817e768be8d8f173a2b12ab7d992e8d70f)reactive
属性 (shigma/cordis@f2f6c2056af02b4d18cbed220a1a1ff73b21ff16)ctx.accept()
支持了 immediate
选项 (shigma/cordis@bce0b60e57bd08075193802edff572be81c1ec46)ctx.config
属性 (shigma/cordis@cbf34b726763186ec7d6c1cd35d31fda30dfb7ee)lifecycle.flush()
将监测异步插件加载了 (shigma/cordis@2688f9365c0ab54d26ac4a7aa5d0ea2e079c73cd)internal/before-update
事件 (shigma/cordis@a60abd9d9c205bd811f8458e7c9bc0839e026338)ctx.update()
将自动反馈到配置文件中 (koishijs/koishi@dfaf00764e1cf5d53fbd251bd114282fe5c74efe)console.log()
(shigma/reggol@a793d8dd8b06b39548fd4a8718498835f4d1e36c)internal/update
事件改为传入修改前的配置项 (shigma/cordis@b9b283a0bb2a75912d9f2c16a43a5427684cd787)boolean
作为可比较类型 (cosmotype/cosmotype@6ffa9e526ff93c8a14bbbb06feb9572958f033bc)Published by shigma about 2 years ago
ctx.options
的引用与 ctx.root.state.config
相一致 (shigma/cordis@2bab837a125f3026000594d2b8caa61b831af5de)this
argument (shigma/cordis@e99a3444884eaa3722543d7af105fe9090b6b41a)dispose
- clean up side effects (shigma/cordis@24d75118ca91c9ba39ccc9701f176b6272b444bd)fork
- create reusable plugins (shigma/cordis@08e68fa14f4ea213d903e6d2521241e18a68b495)