iTXTech / mirai-console-loader

模块化、轻量级且支持完全自定义的 mirai 加载器。
GNU Affero General Public License v3.0
733 stars 62 forks source link

chat-command 插件安装后 还是只能通过控制台执行命令 #54

Closed BohrX closed 3 years ago

BohrX commented 3 years ago

我这边MCL安装上chat-command 之后没效果,命令行命令可以正常,聊天环境就不行 控制台日志如下:

2021-02-09 11:31:44 I/main: Starting mirai-console... 2021-02-09 11:31:44 I/main: Backend: version 2.3.2, built on 2021-02-03 20:36:42. 2021-02-09 11:31:44 I/main: Frontend Terminal: version 2.3.2, provided by Mamoe Technologies 2021-02-09 11:31:44 I/plugin: Successfully loaded plugin Chat Command 2021-02-09 11:31:44 I/plugin: Successfully loaded plugin org.example.my-plugin 2021-02-09 11:31:44 I/main: Prepared built-in commands: autoLogin, help, login, permission, status, stop 2021-02-09 11:31:44 I/org.example.my-plugin: Hi: test 2021-02-09 11:31:44 I/org.example.my-plugin: Hi: test 2021-02-09 11:31:44 I/main: 2 plugin(s) enabled. 2021-02-09 11:31:44 I/Mirai: Mirai 正在使用桌面环境. 如遇到验证码将会弹出对话框. 可添加 JVM 属性 mirai.no-desktop 以关闭. 2021-02-09 11:31:44 I/Mirai: Mirai is using desktop. Captcha will be thrown by window popup. You can add mirai.no-desktop to JVM properties (-Dmirai.no-desktop) to disable it. 2021-02-09 11:31:44 I/main: Auto-login 2021-02-09 11:31:45 I/Bot.: Logging in... 2021-02-09 11:31:45 I/Bot.: No OtherClient online. 2021-02-09 11:31:45 I/Bot.: Login successful 2021-02-09 11:31:45 I/main: mirai-console started successfully.

/manage list /manage list 被调用了 2021-02-09 11:31:56 V/Bot.: [] -> /manage list 2021-02-09 11:32:04 V/Bot.: [] -> 你妈的 2021-02-09 11:36:30 I/Bot.***: Connection lost, retrying login (kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 5000 ms)