@kelaleaf 好像是我账号冻结了的原因。。。。。
KelaLeaf 发布的帖子
-
RE: [Plum] 梅花娘 (报早晚安+智能点歌+一言+随机动漫壁纸+@聊天AI)
出现了新问题,直接导致机器人崩溃,如下
2021-08-08 04:55:48 V/Bot.161461357: Event: BeforeImageUploadEvent(target=Group(1028779507), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByFile@2fafa208)
2021-08-08 05:00:48 V/Bot.161461357: Event: FriendMessagePreSendEvent(target=Friend(10310485), message=早安,2021年8月8日!●倒计时:
2021年高考已结束~
2020年考研已结束~
四六级考试已结束~●今日格言:
只有一个人可以决定我要做什么,那就是我自己。( There's only one person who's going to decide what I'm going to do and that's me. ))
2021-08-08 05:00:48 V/Bot.161461357: Friend(10310485) <- 早安,2021年8月8日!\n\n●倒计时:\n2021年高考已结束~\n2020年考研已结束~\n四六级考试已结束~\n\n●今日格言:\n只有一个人可以决定我要做什么,那就是我自己。( There's only one person who's going to decide what I'm going to do and that's me. )
2021-08-08 05:00:48 V/Bot.161461357: Event: FriendMessagePostSendEvent(target=Friend(10310485), message=早安,2021年8月8日!●倒计时:
2021年高考已结束~
2020年考研已结束~
四六级考试已结束~●今日格言:
只有一个人可以决定我要做什么,那就是我自己。( There's only one person who's going to decide what I'm going to do and that's me. ), exception=java.util.concurrent.CancellationException: MsfOfflineToken(uin=161461357, seq=3900983443, const=0), receipt=null)
2021-08-08 05:00:48 W/stderr: Exception in thread "Thread-1585" java.util.concurrent.CancellationException: MsfOfflineToken(uin=161461357, seq=3900983443, const=0)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler.sendAndExpect$suspendImpl(SelectorNetworkHandler.kt:108)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler.sendAndExpect(SelectorNetworkHandler.kt)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.network.handler.NetworkHandler.sendAndExpect(NetworkHandler.kt:175)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.network.handler.NetworkHandler.sendAndExpect$default(NetworkHandler.kt:171)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.contact.SendMessageHandler.sendMessagePacket(SendMessageHandler.kt:137)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.contact.SendMessageHandlerKt.sendMessageImpl(SendMessageHandler.kt:331)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.contact.SendMessageHandlerKt.sendMessage(SendMessageHandler.kt:307)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.contact.AbstractUserKt.sendMessageImpl(AbstractUser.kt:210)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.contact.FriendImpl.sendMessage(FriendImpl.kt:93)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.contact.Friend$sendMessage$1.invoke(Friend.kt)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.contact.Friend$sendMessage$1.invoke(Friend.kt)
2021-08-08 05:00:48 W/stderr: at kotlin.coroutines.intrinsics.IntrinsicsKt__IntrinsicsJvmKt$createCoroutineUnintercepted$$inlined$createCoroutineFromSuspendFunction$IntrinsicsKt__IntrinsicsJvmKt$1.invokeSuspend(IntrinsicsJvm.kt:205)
2021-08-08 05:00:48 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2021-08-08 05:00:48 W/stderr: at kotlin.coroutines.ContinuationKt.startCoroutine(Continuation.kt:115)
2021-08-08 05:00:48 W/stderr: at net.mamoe.kjbb.internal.RunBlockingKt.$runSuspend$(RunBlocking.kt:18)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.contact.Friend.sendMessage(Friend.kt)
2021-08-08 05:00:48 W/stderr: at com.sakurawald.framework.MessageManager.sendMessageToQQFriend(MessageManager.java:94)2021-08-08 05:00:48 W/stderr: at com.sakurawald.framework.MessageManager.sendMessageToQQFriend(MessageManager.java:117)
2021-08-08 05:00:48 W/stderr: at com.sakurawald.framework.MessageManager.sendMessageToAllQQFriends(MessageManager.java:161)
2021-08-08 05:00:48 W/stderr: at com.sakurawald.timer.timers.DailySentenceTimer.sendStage(DailySentenceTimer.java:136)2021-08-08 05:00:48 W/stderr: at com.sakurawald.timer.TimerController.lambda$autoControlTimer$0(TimerController.java:22)
2021-08-08 05:00:48 W/stderr: at java.base/java.lang.Thread.run(Thread.java:829)
2021-08-08 05:00:48 W/stderr: Caused by: MsfOfflineToken(uin=161461357, seq=3900983443, const=0)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.network.protocol.packet.login.StatSvc$ReqMSFOffline.decode(StatSvc.kt:282)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.network.components.PacketCodecImpl.processBody(PacketCodec.kt:369)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$PacketDecodePipeline$2$1.invokeSuspend(NettyNetworkHandler.kt:183)
2021-08-08 05:00:48 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2021-08-08 05:00:48 W/stderr: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2021-08-08 05:00:48 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)2021-08-08 05:00:48 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
2021-08-08 05:00:48 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
2021-08-08 05:00:48 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
2021-08-08 05:00:48 W/stderr: Suppressed: java.util.concurrent.CancellationException: NetworkHandler closed
2021-08-08 05:00:48 W/stderr: at kotlinx.coroutines.ExceptionsKt.CancellationException(Exceptions.kt:22)
2021-08-08 05:00:48 W/stderr: at kotlinx.coroutines.JobKt__JobKt.cancel(Job.kt:608)
2021-08-08 05:00:48 W/stderr: at kotlinx.coroutines.JobKt.cancel(Unknown Source)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport.close(NetworkHandlerSupport.kt:54)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler.close(NettyNetworkHandler.kt:203)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler.close(SelectorNetworkHandler.kt:90)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.network.components.BotOfflineEventMonitorImpl.onEvent$closeNetwork(BotOfflineEventMonitor.kt:63)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.network.components.BotOfflineEventMonitorImpl.onEvent(BotOfflineEventMonitor.kt:88)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.network.components.BotOfflineEventMonitorImpl.access$onEvent(BotOfflineEventMonitor.kt:48)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.network.components.BotOfflineEventMonitorImpl$attachJob$$inlined$subscribeAlways$default$1.invokeSuspend(EventChannelKotlinExtensions.kt:174)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.network.components.BotOfflineEventMonitorImpl$attachJob$$inlined$subscribeAlways$default$1.invoke(EventChannelKotlinExtensions.kt)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.network.components.BotOfflineEventMonitorImpl$attachJob$$inlined$subscribeAlways$default$1.invoke(EventChannelKotlinExtensions.kt)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:432)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.event.EventChannel$filter$1$intercepted$thisIntercepted$1.invokeSuspend(EventChannel.kt:146)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.event.EventChannel$filter$1$intercepted$thisIntercepted$1.invoke(EventChannel.kt)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.event.EventChannel$filter$1$intercepted$thisIntercepted$1.invoke(EventChannel.kt)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.event.EventChannel$filter$1$intercepted$thisIntercepted$1.invokeSuspend(EventChannel.kt:146)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.event.EventChannel$filter$1$intercepted$thisIntercepted$1.invoke(EventChannel.kt)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.event.EventChannel$filter$1$intercepted$thisIntercepted$1.invoke(EventChannel.kt)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.event.Handler$onEvent$2.invokeSuspend(InternalEventListeners.kt:50)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
2021-08-08 05:00:48 W/stderr: at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
2021-08-08 05:00:48 W/stderr: at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
2021-08-08 05:00:48 W/stderr: at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.event.Handler.onEvent(InternalEventListeners.kt:50)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.event.InternalEventListenersKt.process(InternalEventListeners.kt:154)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.event.InternalEventListenersKt.access$process(InternalEventListeners.kt:1)
2021-08-08 05:00:48 W/stderr: at net.mamoe.mirai.internal.event.InternalEventListenersKt$callAndRemoveIfRequired$2$1.invokeSuspend(InternalEventListeners.kt:126)
2021-08-08 05:00:48 W/stderr: ... 6 more
2021-08-08 05:00:48 W/stderr: Caused by: [CIRCULAR REFERENCE: MsfOfflineToken(uin=161461357, seq=3900983443, const=0)]> -
RE: [Plum] 梅花娘 (报早晚安+智能点歌+一言+随机动漫壁纸+@聊天AI)
@kelaleaf 在 [Plum] 梅花娘 (报早晚安+智能点歌+一言+随机动漫壁纸+@聊天AI) 中说:
@kelaleaf 唱歌解决了,不能有中文路径,但是聊天我还是没有找到打开的地方,配置文件也没有注释
找到了,在plugins/plum/applicationConfig.json 中进行修改
AtFunction选项的enable为true开启聊天功能 -
RE: [Plum] 梅花娘 (报早晚安+智能点歌+一言+随机动漫壁纸+@聊天AI)
@kelaleaf 唱歌解决了,不能有中文路径,但是聊天我还是没有找到打开的地方,配置文件也没有注释