池鱼思故渊 发布的帖子
-
RE: 入群欢迎 管理bot群/好友申请 查看bot的群/好友
@Colter23 2022-05-04 23:10:42 E/SimpleWelcome: Exception in coroutine Plugin top.colter.simple-welcome of SimpleWelcome
java.lang.IllegalStateException: the request net.mamoe.mirai.internal.MiraiImpl@89ca06b has already been responded
at net.mamoe.mirai.internal.MiraiImpl.acceptNewFriendRequest$suspendImpl(MiraiImpl.kt:159)
at net.mamoe.mirai.internal.MiraiImpl.acceptNewFriendRequest(MiraiImpl.kt)
at net.mamoe.mirai.event.events.NewFriendRequestEvent.accept(friend.kt:91)
at top.colter.mirai.plugin.welcome.PluginMain$onEnable$7.invokeSuspend(PluginMain.kt:128)
at top.colter.mirai.plugin.welcome.PluginMain$onEnable$7.invoke(PluginMain.kt)
at top.colter.mirai.plugin.welcome.PluginMain$onEnable$7.invoke(PluginMain.kt)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:455)
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.Handler$onEvent$2.invokeSuspend(InternalEventListeners.kt:50)
at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at net.mamoe.mirai.internal.event.Handler.onEvent(InternalEventListeners.kt:50)
at net.mamoe.mirai.internal.event.InternalEventListenersKt.process(InternalEventListeners.kt:166)
at net.mamoe.mirai.internal.event.InternalEventListenersKt.callAndRemoveIfRequired(InternalEventListeners.kt:115)
at net.mamoe.mirai.event._EventBroadcast.broadcastImpl(Event.kt:174)
at net.mamoe.mirai.IMirai.broadcastEvent(IMirai.kt: -
RE: 入群欢迎 管理bot群/好友申请 查看bot的群/好友
@Colter23 我排了一下别的插件,现在是单纯的他自己报错,我用小号加这个机器人,大号同意的话会直接报错并拒绝,拒绝的话也会报错并拒绝,但是可以忽略
-
RE: 入群欢迎 管理bot群/好友申请 查看bot的群/好友
@Colter23 大佬不必谦虚,我才刚学java,您写的烂我都不会,我更烂,我刚开始用的时候好使然后可能是因为我家偶尔断电?丢数据?然后他就开始罢工了,只能忽略,不管是同意还是拒绝都报错,忽略的话会显示拒绝
-
RE: 入群欢迎 管理bot群/好友申请 查看bot的群/好友
2022-05-03 19:00:36 E/SimpleWelcome: Exception in coroutine Plugin top.colter.simple-welcome of SimpleWelcome
java.lang.IllegalStateException: the request net.mamoe.mirai.internal.MiraiImpl@2d9e236f has already been responded
at net.mamoe.mirai.internal.MiraiImpl.acceptNewFriendRequest$suspendImpl(MiraiImpl.kt:159)
at net.mamoe.mirai.internal.MiraiImpl.acceptNewFriendRequest(MiraiImpl.kt)
at net.mamoe.mirai.event.events.NewFriendRequestEvent.accept(friend.kt:91)
at top.colter.mirai.plugin.welcome.PluginMain$onEnable$7.invokeSuspend(PluginMain.kt:128)
at top.colter.mirai.plugin.welcome.PluginMain$onEnable$7.invoke(PluginMain.kt)
at top.colter.mirai.plugin.welcome.PluginMain$onEnable$7.invoke(PluginMain.kt)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:455)
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.Handler$onEvent$2.invokeSuspend(InternalEventListeners.kt:50)
at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at net.mamoe.mirai.internal.event.Handler.onEvent(InternalEventListeners.kt:50)
at net.mamoe.mirai.internal.event.InternalEventListenersKt.process(InternalEventListeners.kt:166)
at net.mamoe.mirai.internal.event.InternalEventListenersKt.callAndRemoveIfRequired(InternalEventListeners.kt:115)
at net.mamoe.mirai.internal.event.InternalEventListenersKt$callAndRemoveIfRequired$1.invokeSuspend(InternalEventListeners.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:147)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) -
RE: 入群欢迎 管理bot群/好友申请 查看bot的群/好友
2022-04-30 17:15:01 E/main: Exception in coroutine <unnamed>
java.lang.IllegalStateException: the request NewFriendRequestEvent(bot=Bot(3512443736), eventId=1651310097000000, message=我是故渊, fromId=3246547289, fromGroupId=856637305, fromNick=故渊) has already been responded
at net.mamoe.mirai.internal.MiraiImpl.rejectNewFriendRequest$suspendImpl(MiraiImpl.kt:187) at net.mamoe.mirai.internal.MiraiImpl.rejectNewFriendRequest(MiraiImpl.kt) at net.mamoe.mirai.event.events.NewFriendRequestEvent.reject(friend.kt:94) at net.mamoe.mirai.event.events.NewFriendRequestEvent$reject$2.invoke(friend.kt:65535) at net.mamoe.mirai.event.events.NewFriendRequestEvent$reject$2.invoke(friend.kt) at kotlin.coroutines.intrinsics.IntrinsicsKt__IntrinsicsJvmKt$createCoroutineUnintercepted$$inlined$createCoroutineFromSuspendFunction$IntrinsicsKt__IntrinsicsJvmKt$1.invokeSuspend(IntrinsicsJvm.kt:205) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlin.coroutines.ContinuationKt.startCoroutine(Continuation.kt:115) at me.him188.kotlin.jvm.blocking.bridge.internal.RunSuspendKt.$runSuspend$(RunSuspend.kt:18) at net.mamoe.mirai.event.events.NewFriendRequestEvent.reject(friend.kt) at com.ycitus.PluginMain.lambda$onEnable$5(PluginMain.java:149) at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:574) at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:574) at kotlinx.coroutines.InterruptibleKt.runInterruptibleInExpectedContext(Interruptible.kt:46) at kotlinx.coroutines.InterruptibleKt.access$runInterruptibleInExpectedContext(Interruptible.kt:1) at kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(Interruptible.kt:38) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
-
RE: B站订阅插件,动态、视频、直播订阅 @全体成员
2022-03-17 20:39:49 E/console: kotlinx.serialization.json.internal.JsonDecodingException: Expected class kotlinx.serialization.json.JsonObject as the serialized body of xyz.cssxsh.bilibili.data.BiliRoomSimple, but had class kotlinx.serialization.json.JsonNull kotlinx.serialization.json.internal.JsonDecodingException: Expected class kotlinx.serialization.json.JsonObject as the serialized body of xyz.cssxsh.bilibili.data.BiliRoomSimple, but had class kotlinx.serialization.json.JsonNull at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:24) at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure(TreeJsonDecoder.kt:332) at kotlinx.serialization.json.internal.JsonTreeDecoder.beginStructure(TreeJsonDecoder.kt:234) at xyz.cssxsh.bilibili.data.BiliRoomSimple$$serializer.deserialize(Live.kt:58) at xyz.cssxsh.bilibili.data.BiliRoomSimple$$serializer.deserialize(Live.kt:58) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63) at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeSerializableValue(TreeJsonDecoder.kt:51) at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableValue(Tagged.kt:206) at kotlinx.serialization.internal.TaggedDecoder$decodeSerializableElement$1.invoke(Tagged.kt:279) at kotlinx.serialization.internal.TaggedDecoder.tagBlock(Tagged.kt:296) at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableElement(Tagged.kt:279) at xyz.cssxsh.bilibili.data.BiliUserInfo$$serializer.deserialize(User.kt:25) at xyz.cssxsh.bilibili.data.BiliUserInfo$$serializer.deserialize(User.kt:25) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63) at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeSerializableValue(TreeJsonDecoder.kt:51) at kotlinx.serialization.json.internal.TreeJsonDecoderKt.readJson(TreeJsonDecoder.kt:24) at kotlinx.serialization.json.Json.decodeFromJsonElement(Json.kt:119) at xyz.cssxsh.bilibili.api.UserKt$getUserInfo$$inlined$json$1.invokeSuspend(Api.kt:129) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191) at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147) at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15) at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191) at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147) at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15) at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191) at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147) at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15) at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
添加直播订阅以后报错咋办大佬