@cssxsh
可以问一下服务器具体需要怎么配置代理吗🙏,我是用的clash for linux,跑起来之后需要代理的服务好像都没出现问题,所以也没在意过具体应该怎么配置
BongoCat 发布的最新帖子
-
RE: Mirai New Bing
-
RE: 能否在自己的插件中重载 /help 指令
@wuxianggujun 实现了,在主函数中加载命令的时候,加一个参数
override
就行override fun onEnable() { # 你自己的help指令 HelpCommand.register(override = true) ... }
-
RE: DrawMeme - 基于Skiko的奇怪的图片生成器
DrawMeme版本1.0.5,SkikoMirai版本1.0.6
启动Mirai时出现如下错误Failed to init MiraiConsole. net.mamoe.mirai.console.plugin.loader.PluginLoadException: Plugin 'org.laolittle.plugin.draw.DrawMeme' ('org.laolittle.plugin.draw.DrawMeme') requires 'org.laolittle.plugin.Ski koMirai' with version >=1.0.3 while the resolved is 1.0.6 at net.mamoe.mirai.console.internal.plugin.PluginManagerImplKt.checkSatisfies(PluginManagerImpl.kt:261) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.sortByDependencies$canBeLoad(PluginManagerImpl.kt:204) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.sortByDependencies$consumeLoadable(PluginManagerImpl.kt:210) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.sortByDependencies$doSort(PluginManagerImpl.kt:222) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.sortByDependencies$doSort(PluginManagerImpl.kt:230) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.sortByDependencies(PluginManagerImpl.kt:233) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.listAndSortAllPlugins(PluginManagerImpl.kt:192) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.findAndSortAllPluginsUsingBuiltInLoaders(PluginManagerImpl.kt:135) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadAllPluginsUsingBuiltInLoaders$mirai_console(PluginManagerImpl.kt:145) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:151) at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:392) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:156) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:155) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:47) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at org.itxtech.mcl.Utility.bootMirai(Utility.java:83) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138) at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1013) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:412) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3578) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107) at org.mozilla.javascript.ArrowFunction.call(ArrowFunction.java:43) at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:155) at org.mozilla.javascript.InterfaceAdapter.lambda$invoke$0(InterfaceAdapter.java:105) at org.mozilla.javascript.Context.call(Context.java:554) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:522) at org.mozilla.javascript.InterfaceAdapter.invoke(InterfaceAdapter.java:105) at org.mozilla.javascript.jdk18.VMBridge_jdk18$1.invoke(VMBridge_jdk18.java:126) at com.sun.proxy.$Proxy4.run(Unknown Source) at org.itxtech.mcl.script.ScriptManager.phaseBoot(ScriptManager.java:106) at org.itxtech.mcl.Loader.lambda$start$3(Loader.java:176) at org.itxtech.mcl.Loader.tryCatching(Loader.java:145) at org.itxtech.mcl.Loader.start(Loader.java:176) at org.itxtech.mcl.Loader.main(Loader.java:68)
-
能否在自己的插件中重载 /help 指令
如题,mirai-console中的
/help
指令会输出所有指令提示,能否在自己写的插件中重载这个指令,输出自定义的东西。如果可以的话,要怎么重载