大佬,请问插件支持post请求嘛?小白不太了解
yuudachi 发布的最佳帖子
yuudachi 发布的最新帖子
-
RE: HoshinoYumemi - Plugin
@藤原白叶 2022-06-30 00:29:05 E/Bot.1085833743: java.lang.IllegalStateException: Exception while broadcasting event 'BotOnlineEvent'
java.lang.IllegalStateException: Exception while broadcasting event 'BotOnlineEvent'
at net.mamoe.mirai.internal.network.components.EventDispatcherImpl.broadcast$suspendImpl(EventDispatcher.kt:96)
at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcast$1.invokeSuspend(EventDispatcher.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:202)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:202)
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:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Caused by: java.lang.IllegalStateException: 未找到异常处理器. 请继承 SimpleListenerHost 中的 handleException 方法, 或在 构造 SimpleListenerHost 时提供 CoroutineExceptionHandlerCannot find exception handler from coroutineContext.
Please extend SimpleListenerHost.handleException or provide a CoroutineExceptionHandler to the constructor of SimpleListenerHost
at net.mamoe.mirai.event.SimpleListenerHost.handleException(JvmMethodListeners.kt:192)
at net.mamoe.mirai.event.SimpleListenerHost$special$$inlined$CoroutineExceptionHandler$1.handleException(CoroutineExceptionHandler.kt:111)
at net.mamoe.mirai.internal.event.Handler.onEvent(InternalEventListeners.kt:52)
at net.mamoe.mirai.internal.event.Handler$onEvent$1.invokeSuspend(InternalEventListeners.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
... 8 more
Caused by: net.mamoe.mirai.event.ExceptionInEventHandlerException: Exception in EventHandler
at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callFunction(JvmMethodListenersInternal.kt:91)
at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.access$registerEventHandler$callFunction(JvmMethodListenersInternal.kt:1)
at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$callFunction$1.invokeSuspend(JvmMethodListenersInternal.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
... 5 more
Caused by: kotlinx.serialization.MissingFieldException: Field 'testSpecialize' is required for type with serial name 'srh.shirakana.hoshinoyumemi.UserWorks.UserWorksData', but it was missing
at kotlinx.serialization.internal.PluginExceptionsKt.throwMissingFieldException(PluginExceptions.kt:20)
at HoshiniYumemi-0.0.3.mirai.jar//srh.shirakana.hoshinoyumemi.UserWorks$UserWorksData.<init>(Work.kt:15)
at HoshiniYumemi-0.0.3.mirai.jar//srh.shirakana.hoshinoyumemi.UserWorks$UserWorksData$$serializer.deserialize(Work.kt:15)
at HoshiniYumemi-0.0.3.mirai.jar//srh.shirakana.hoshinoyumemi.UserWorks$UserWorksData$$serializer.deserialize(Work.kt:15)
at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:59)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:36)
at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43)
at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70)
at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:535)
at kotlinx.serialization.internal.ListLikeSerializer.readElement(CollectionSerializers.kt:80)
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:36)
at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43)
at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70)
at HoshiniYumemi-0.0.3.mirai.jar//srh.shirakana.hoshinoyumemi.UserWorks$$serializer.deserialize(Work.kt:12)
at HoshiniYumemi-0.0.3.mirai.jar//srh.shirakana.hoshinoyumemi.UserWorks$$serializer.deserialize(Work.kt:12)
at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:59)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:36)
at kotlinx.serialization.json.Json.decodeFromString(Json.kt:100)
at HoshiniYumemi-0.0.3.mirai.jar//srh.shirakana.hoshinoyumemi.ShirakanaEventListener.handle0$HoshiniYumemi(NinnMu.kt:463)
at HoshiniYumemi-0.0.3.mirai.jar//srh.shirakana.hoshinoyumemi.ShirakanaEventListener$handle0$1.invokeSuspend(NinnMu.kt)
... 6 more -
RE: R6Stats 简易彩虹六号战绩查询
@立于羽下 感谢大佬,代理测试发现没什么问题。有一个小小小问题,第一次加载插件默认写出的配置文件PreviewDescConfig里的语句后面没加‘:’,虽然可以自己加上去_(:з)∠)_