请问能不能给自动更新图库做一个内容分级?或者删掉的图不再更新回来。我有一些真男同群看到戳一戳的自动出图频繁出萝莉和巨乳的图会被无语到,删又删不完😂
S
SyuueenN 发布的帖子
-
RE: Petpet - 生成各种奇怪的图片
-
RE: CommandYouWant —— 重定向其他插件的命令
@MrXiaoM 大佬三次元也很忙啊,抽时间做程序辛苦了
现阶段这个插件已经有太多可能性了,忍不住妄想一下,如果有回复消息、延时功能、简单的 if 判断的话岂不是直接升维变成插件里的快捷指令了啊 -
RE: CommandYouWant —— 重定向其他插件的命令
请问如何在
action
里获取接收命令的群聊或用户?例如设置 Mirai-Admin 插件的/send to (目标)
发送消息指令时会需要一个目的群号。 -
RE: Arknights Helper / 明日方舟 助手,更新订阅的微博号配置项
请问总碰上这种报错且不输出该怎么办?
MiraiConsole v2.13.0
arknights-helper v2.0.0
(RC3)> ark-item 芯片助剂 2022-12-03 20:05:58 E/console: java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97) at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Static.call(CallerImpl.kt:106) at kotlin.reflect.jvm.internal.KCallableImpl.callDefaultMethod$kotlin_reflection(KCallableImpl.kt:173) at kotlin.reflect.full.KCallables.callSuspendBy(KCallables.kt:74) at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invokeSuspend(CommandReflector.kt:337) at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invoke(CommandReflector.kt) at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invoke(CommandReflector.kt) at net.mamoe.mirai.console.command.descriptor.CommandSignatureFromKFunctionImpl.call$suspendImpl(CommandSignature.kt:88) at net.mamoe.mirai.console.command.descriptor.CommandSignatureFromKFunctionImpl.call(CommandSignature.kt) at net.mamoe.mirai.console.internal.command.CommandManagerImplKt.executeCommandImpl(CommandManagerImpl.kt:167) at net.mamoe.mirai.console.command.CommandManager.executeCommand$suspendImpl(CommandManager.kt:130) at net.mamoe.mirai.console.command.CommandManager.executeCommand(CommandManager.kt) at net.mamoe.mirai.console.command.CommandManager$INSTANCE.executeCommand(CommandManager.kt) at net.mamoe.mirai.console.terminal.ConsoleThreadKt$startupConsoleThread$3.invokeSuspend(ConsoleThread.kt:187) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Caused by: java.util.NoSuchElementException: Collection contains no element matching the predicate. at arknights-helper-2.0.0-RC3.mirai2.jar//xyz.cssxsh.arknights.penguin.DslKt.name(Dsl.kt:252) at arknights-helper-2.0.0-RC3.mirai2.jar//xyz.cssxsh.mirai.arknights.command.ArknightsItemCommand.handler(ArknightsItemCommand.kt:17) at arknights-helper-2.0.0-RC3.mirai2.jar//xyz.cssxsh.mirai.arknights.command.ArknightsItemCommand.handler$default(ArknightsItemCommand.kt:15) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ... 21 more
> ark-recruit 重装干员 2022-12-03 20:06:20 E/console: java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97) at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113) at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108) at kotlin.reflect.jvm.internal.KCallableImpl.callDefaultMethod$kotlin_reflection(KCallableImpl.kt:159) at kotlin.reflect.full.KCallables.callSuspendBy(KCallables.kt:74) at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invokeSuspend(CommandReflector.kt:337) at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invoke(CommandReflector.kt) at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invoke(CommandReflector.kt) at net.mamoe.mirai.console.command.descriptor.CommandSignatureFromKFunctionImpl.call$suspendImpl(CommandSignature.kt:88) at net.mamoe.mirai.console.command.descriptor.CommandSignatureFromKFunctionImpl.call(CommandSignature.kt) at net.mamoe.mirai.console.internal.command.CommandManagerImplKt.executeCommandImpl(CommandManagerImpl.kt:167) at net.mamoe.mirai.console.command.CommandManager.executeCommand$suspendImpl(CommandManager.kt:130) at net.mamoe.mirai.console.command.CommandManager.executeCommand(CommandManager.kt) at net.mamoe.mirai.console.command.CommandManager$INSTANCE.executeCommand(CommandManager.kt) at net.mamoe.mirai.console.terminal.ConsoleThreadKt$startupConsoleThread$3.invokeSuspend(ConsoleThread.kt:187) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Caused by: kotlinx.serialization.MissingFieldException: Field 'potentialItemId' is required for type with serial name 'xyz.cssxsh.arknights.excel.Character', but it was missing at path: $['char_504_rguard'] at path: $['char_504_rguard'] at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:40) at kotlinx.serialization.json.Json.decodeFromString(Json.kt:100) at arknights-helper-2.0.0-RC3.mirai2.jar//xyz.cssxsh.arknights.excel.ExcelDataHolder.character(ExcelDataHolder.kt:166) at arknights-helper-2.0.0-RC3.mirai2.jar//xyz.cssxsh.mirai.arknights.command.ArknightsRecruitCommand.handler(ArknightsRecruitCommand.kt:23) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ... 22 more Caused by: kotlinx.serialization.MissingFieldException: Field 'potentialItemId' is required for type with serial name 'xyz.cssxsh.arknights.excel.Character', but it was missing at path: $['char_504_rguard'] at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:40) at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43) at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableElement(StreamingJsonDecoder.kt:111) at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:537) at kotlinx.serialization.internal.MapLikeSerializer.readElement(CollectionSerializers.kt:111) at kotlinx.serialization.internal.MapLikeSerializer.readElement(CollectionSerializers.kt:84) at kotlinx.serialization.internal.AbstractCollectionSerializer.readElement$default(CollectionSerializers.kt:51) at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:36) at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:59) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:38) ... 26 more Caused by: kotlinx.serialization.MissingFieldException: Field 'potentialItemId' is required for type with serial name 'xyz.cssxsh.arknights.excel.Character', but it was missing at kotlinx.serialization.internal.PluginExceptionsKt.throwMissingFieldException(PluginExceptions.kt:20) at arknights-helper-2.0.0-RC3.mirai2.jar//xyz.cssxsh.arknights.excel.Character.<init>(Character.kt:137) at arknights-helper-2.0.0-RC3.mirai2.jar//xyz.cssxsh.arknights.excel.Character$$serializer.deserialize(Character.kt:137) at arknights-helper-2.0.0-RC3.mirai2.jar//xyz.cssxsh.arknights.excel.Character$$serializer.deserialize(Character.kt:137) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:59) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:38) ... 37 more
-
RE: CommandYouWant —— 重定向其他插件的命令
请问这样的报错是什么问题?
其实从安装开始就无法让这个插件起任何反应,甚至尝试用别名执行 /help 都办不到。不过偶然尝试导致了如下的报错,也是头一次见到插件有反应。
MiraiConsole v2.13.0
CommandYouWant v0.1.0
2022-12-03 18:47:27 E/CommandYouWant: Exception in coroutine Plugin top.mrxiaom.commandyouwant of CommandYouWant java.lang.IllegalStateException: Cannot find MessageSource from message at net.mamoe.mirai.event.events.GroupMessageEvent.<init>(MessageEvent.kt:190) at CommandYouWant-0.1.1.mirai2.jar//top.mrxiaom.commandyouwant.CommandYouWantKt.rebuildMessageEvent(CommandYouWant.kt:136) at CommandYouWant-0.1.1.mirai2.jar//top.mrxiaom.commandyouwant.CommandYouWant.processCommand(CommandYouWant.kt:105) at CommandYouWant-0.1.1.mirai2.jar//top.mrxiaom.commandyouwant.CommandYouWant.access$processCommand(CommandYouWant.kt:29) at CommandYouWant-0.1.1.mirai2.jar//top.mrxiaom.commandyouwant.CommandYouWant$onEnable$1.invokeSuspend(CommandYouWant.kt:59) at CommandYouWant-0.1.1.mirai2.jar//top.mrxiaom.commandyouwant.CommandYouWant$onEnable$1.invoke(CommandYouWant.kt) at CommandYouWant-0.1.1.mirai2.jar//top.mrxiaom.commandyouwant.CommandYouWant$onEnable$1.invoke(CommandYouWant.kt) at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:506) at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt) at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt) at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invokeSuspend(SafeListener.kt:58) at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt) at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:169) at kotlinx.coroutines.BuildersKt.withContext(Unknown Source) at net.mamoe.mirai.internal.event.SafeListener.onEvent(SafeListener.kt:58) at net.mamoe.mirai.internal.event.EventListeners.process(EventListeners.kt:120) at net.mamoe.mirai.internal.event.EventListeners.access$process(EventListeners.kt:28) at net.mamoe.mirai.internal.event.EventListeners$callListeners$2$1.invokeSuspend(EventListeners.kt:85) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
-
RE: ChatLearning——让bot学会你的群聊
目前
!delete
功能似乎只有回复时 QQ 自动给出的@bot
没被删除时才能触发。但我有排版爱好群等多个强迫症聚集群,几乎全都会删掉@bot
,导致这一功能很难被触发。请问如何解决? -
RE: Arknights Helper / 明日方舟 助手,更新订阅的微博号配置项
今天疯狂刷这个报错,照着链接也打不开,是宕掉了吗?
另外有没有手动更新(指下载复制)或者改成 GitHub 的选项? -
RE: ChatLearning——让bot学会你的群聊
以及还是希望有一个本地的查找词库后的预览,可以生成一些简单的通过制表符排列的 txt 或 csv,csv 是可以用 Excel 打开的。