指令管理功能消失了
2 个赞
急急急 有偿求助
2 个赞
最捞的解决办法,就是把 koishi.yml 里的内容替换成下面的内容(记得先备份之前的)
就是初始化 yml 的内容,跟双清的区别就是不用再安装插件了,但是…好像没什么区别…
koishi.yml
plugins:
group:server:
server:gx0u1g:
port: 5140
maxPort: 5149
~server-satori:8unk2v: {}
~server-temp:wcqhga: {}
group:basic:
~admin:pluylg: {}
~bind:ltdek5: {}
commands:98z304: {}
help:xkhliu: {}
~inspect:1loe8j: {}
locales:a1mqc0: {}
proxy-agent:3hvt2n: {}
rate-limit:lih9fm: {}
telemetry:302s3g: {}
group:console:
actions:nw6se1: {}
analytics:uqi8hp: {}
android:mwq6ag:
$if: env.KOISHI_AGENT?.includes('Android')
~auth:fpm8eb: {}
config:wvr5cs: {}
console:9jchfm:
open: true
dataview:hsxpn2: {}
desktop:ga5auk:
$if: env.KOISHI_AGENT?.includes('Desktop')
explorer:jqcd12: {}
logger:qby5hw: {}
insight:6qofqz: {}
market:rrnv3k:
search:
endpoint: https://registry.koishi.chat/index.json
notifier:fj2ei9: {}
oobe:18t485: {}
sandbox:x8dwi0: {}
status:0xovto: {}
theme-vanilla:iw7pkm: {}
group:storage:
~database-mongo:d2qbup:
database: koishi
~database-mysql:y9m4ub:
database: koishi
~database-postgres:dsu0zw:
database: koishi
database-sqlite:j9w93u:
path: data/koishi.db
assets-local:9ubxh0: {}
group:adapter:
~adapter-dingtalk:nah3pd: {}
~adapter-discord:afyup2: {}
~adapter-kook:o2r5m2: {}
~adapter-lark:z9dxbj: {}
~adapter-line:pv66p7: {}
~adapter-mail:7dqlqd: {}
~adapter-matrix:fddegs: {}
~adapter-qq:igsbia: {}
~adapter-satori:uuryw9: {}
~adapter-slack:7js0cn: {}
~adapter-telegram:33sazu: {}
~adapter-wechat-official:88ur51: {}
~adapter-wecom:ju83xg: {}
~adapter-whatsapp:7qgvqv: {}
~adapter-zulip:exhr8c: {}
group:develop:
$if: env.NODE_ENV === 'development'
hmr:ba052s:
root: .
2 个赞
Koishi 开发群的大大们提示说,可以不用删掉,可以将 null 替换成 {}
如果替换后,指令管理依然无效,可以尝试在依赖管理卸载 command 插件后重装。
2 个赞
最喜欢论坛的一集
2 个赞