大佬能不能添加一个bot名字的正则匹配?)想要直接在消息里带bot名字就触发而不用@
DianJiu 发布的帖子
-
RE: Mirai点歌插件
"点歌":
source: all
card: Mirai
"网易云":
source: 网易
card: Mirai
"QQ音乐":
source: QQ音乐
card: Mirai
"酷狗":
source: 酷狗
card: Mirai
"bilibili":
source: Bilibili
card: Mirai没事了 我从另一只那里拷贝过去了一份 又可以用了
-
RE: Mirai点歌插件
大佬救命 自定义了命令然后一直报错也没有用语音点歌呀
附配置ffmpeg_path: "ffmpeg" silkenc_path: "silk_v3_encoder" adddefault: false amrqualityshift: false amrwb: true use_custom_ffmpeg_command: false custom_ffmpeg_command: "ffmpeg -i %input% -ab 23.85k -ar 16000 -ac 1 -acodec amr_wb -y %output%" enable_local: false verbose: true hintsongnotfound: "无法找到歌曲。" hintcarderror: "分享歌曲失败。" hintnotemplate: "无法找到卡片。" hintsourcenotfound: "无法找到来源。" admins: - 0 extracommands: "点歌": source: all card: Mirai "网易云": source: 网易 card: Mirai "QQ音乐": source: QQ音乐 card: Mirai "酷狗": source: 酷狗 card: Mirai "bilibili": source: Bilibili card: Mirai
下面是报错日志:
2022-05-21 00:23:10 E/点歌插件: java.util.NoSuchElementException: ffmpeg_path java.util.NoSuchElementException: ffmpeg_path at net.mamoe.yamlkt.YamlMap.getOrFail(YamlElement.kt:292) at net.mamoe.yamlkt.YamlMap.getString(YamlElement.kt:305) at com.khjxiaogu.MiraiSongPlugin.MiraiSongPlugin.reload(MiraiSongPlugin.java:437) at com.khjxiaogu.MiraiSongPlugin.MiraiSongPlugin.onEnable(MiraiSongPlugin.java:276) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:117) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:164) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:36) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:47) at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:135) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:177) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:202) 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(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) 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(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) 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)
-
RE: PatPat摸摸头插件
大佬可不可以给纯文本的摸加个开关 比如可以自由设置成只用@指定目标 纯文本的话很多时候只是想安慰别人说句摸摸摸摸 结果bot就会突然冒出来说我不知道你要摸谁?
-
RE: DrawMeme - 基于Skiko的奇怪的图片生成器
佬 之前旧版没问题现在看有新版了就更新了一下结果一直报错用不了
2022-05-03 14:12:14 E/DrawMeme: java.lang.NoClassDefFoundError: org/jetbrains/skia/impl/Library
java.lang.NoClassDefFoundError: org/jetbrains/skia/impl/Library
at org.laolittle.plugin.SkikoMirai.loadSkikoLibrary(SkikoMirai.kt:95)
at org.laolittle.plugin.Fonts.<clinit>(Fonts.kt:45)
at org.laolittle.plugin.draw.DrawMeme.onEnable(DrawMeme.kt:47)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:117)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:164)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:36)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:47)
at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:135)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:177)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:202)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:401)
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.bootJars(Utility.java:89)
at org.itxtech.mcl.Utility.bootJars(Utility.java:79)
at org.itxtech.mcl.Utility.bootMirai(Utility.java:101)
at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:109)
at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:148)
at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:188)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:146)
at org.itxtech.mcl.Loader.start(Loader.java:188)
at org.itxtech.mcl.Loader.main(Loader.java:79)
Caused by: java.lang.ClassNotFoundException: org.jetbrains.skia.impl.Library
at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoader.findClass$mirai_console(JvmPluginClassLoader.kt:110)
at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoader.findClass(JvmPluginClassLoader.kt:51)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 28 more -
RE: Mirai-Repeater:复读机插件:复读/打断/跟读
你好 发现两个问题 如果群友也跟着发打断施法 这个复读打断就失效了))还会跟着复读打断施法 而且似乎不能识别到bot自己已经回复了的消息 就像是通过指令让bot回复消息 重复触发多次后也会跟着复读指令 大概就只遇到这两个问题
-
RE: Mirai Administrator 机器人管理插件,好友/群管理,黑名单,宵禁
大佬 这个撤回消息我发了但是没有反应欸 后台倒是有两条这个蹦出来
2022-03-07 21:11:52 I/mirai-administrator: Group 测试(742149768) timer run success with curfew-timer
2022-03-07 21:11:52 I/mirai-administrator: Group 测试(742149768) timer run success with cleaner