Mirai Content Censor 群内容审核插件
-
@koitoyuu
大概是触发两种不同的词条或者规则
加起来 120s -
@cssxsh 佬,文字图片处理正常,但是语音处理失败怎么办,语音开启了的
-
@koitoyuu
看样子是 腾讯的语音格式 不满足 百度aip 的需求
下个版本加个格式转换试试看 -
@cssxsh 佬,你可以加个禁言时间递增的设置吗,就是可以填写多少时间内多次触发禁言,禁言时间的倍数会翻倍
-
java.lang.UnsatisfiedLinkError: 'void io.github.kasukusakura.silkcodec.NativeBridge.initialize()' at mirai-content-censor-1.3.8.mirai2.jar[private]//io.github.kasukusakura.silkcodec.NativeBridge.initialize(Native Method) at mirai-content-censor-1.3.8.mirai2.jar[private]//io.github.kasukusakura.silkcodec.NativeLoader.initialize(NativeLoader.java:26) at mirai-content-censor-1.3.8.mirai2.jar//io.github.gnuf0rce.mirai.censor.MiraiContentCensorPlugin.onLoad(MiraiContentCensorPlugin.kt:35) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnLoad$mirai_console(JvmPluginInternal.kt:248) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.load(BuiltInJvmPluginLoaderImpl.kt:283) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.load(BuiltInJvmPluginLoaderImpl.kt:35) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.load(JvmPluginLoader.kt) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.load(JvmPluginLoader.kt:50) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadPluginNoEnable(PluginManagerImpl.kt:90) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadAllPluginsUsingBuiltInLoaders$mirai_console(PluginManagerImpl.kt:146) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:279) at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:508) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:177) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:176) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:54) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.itxtech.mcl.Utility.bootJars(Utility.java:86) at org.itxtech.mcl.Utility.bootJars(Utility.java:76) at org.itxtech.mcl.Utility.bootMirai(Utility.java:98) at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:113) at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:123) at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:196) at org.itxtech.mcl.Loader.tryCatching(Loader.java:151) at org.itxtech.mcl.Loader.start(Loader.java:196) at org.itxtech.mcl.Loader.main(Loader.java:84)
-
初始化失败,咋回事,大佬
-
@mfygod
这个只会影响语音的审核,如果用不到这个功能不用理会 -
@cssxsh 好的,感谢,感谢。
-
@cssxsh 2000人群,一天一万多条消息,消费不起都。。
-
能不能只审核机器人自己要发送的内容,如果违规,就阻止这次发送
-
报错,并且无法成功启动并生成配置文件
2023-05-14 23:01:22 E/content-censor: java.lang.NoClassDefFoundError: io/github/kasukusakura/silkcodec/NativeLoader
java.lang.NoClassDefFoundError: io/github/kasukusakura/silkcodec/NativeLoader
at mirai-content-censor-1.3.9.mirai2.jar//io.github.gnuf0rce.mirai.censor.MiraiContentCensorPlugin.onEnable(MiraiContentCensorPlugin.kt:58)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:232)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:305)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:35)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:50)
at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:173)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:181)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:347)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:496)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:177)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:176)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.itxtech.mcl.Utility.bootJars(Utility.java:86)
at org.itxtech.mcl.Utility.bootJars(Utility.java:76)
at org.itxtech.mcl.Utility.bootMirai(Utility.java:98)
at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:113)
at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:123)
at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:196)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:151)
at org.itxtech.mcl.Loader.start(Loader.java:196)
at org.itxtech.mcl.Loader.main(Loader.java:84)
Caused by: java.lang.ClassNotFoundException: io.github.kasukusakura.silkcodec.NativeLoader
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoaderN.loadClass(JvmPluginClassLoader.kt:440) -
看来您需要改一下说明了,需要下载https://github.com/KasukuSakura/silk-codec处的silkcodec的jar包扔进plugins文件夹了
-
我记得最新版本是 1.3.10 吧
-
@cssxsh 那就是通过mcl从maven稳定频道下载的并不是最新的1.3.10版本。
-
阿里云的问题,和我无关
-
你可以编辑 config.json
更改 maven 源"maven_repo": [ "https://repo.huaweicloud.com/repository/maven" ],
-
不支持的消息会显示为[不支持的消息#-475816636],里面的数字会被识别为恶意推广然后撤回,分享一下我目前的白名单
-
去开个 issue
-
大佬还有在维护吗,可以搞一个策略的热更新吗,或者手动刷新当前策略吗,每次改完都要重启一下bot,有点容易风控呀
-
有没有方法指定这个审核在哪个群生效啊,并不是所有的群都需要这个功能