@JiaYicard 有用,感谢
awslnotbad 发布的帖子
-
RE: 洛个这 Bot Plugin | 群聊管理、娱乐、还有更多
报错了,查看今日运势
messageChain=org.json.JSONException: JSONObject["data"] not found.\n at lgz-bot-0.2.0-pre1.mirai.jar//org.json.JSONObject.get(JSONObject.java:570)\n at lgz-bot-0.2.0-pre1.mirai.jar//org.json.JSONObject.getJSONObject(JSONObject.java:780)\n at lgz-bot-0.2.0-pre1.mirai.jar//ltd.guimc.lgzbot.listener.message.FunListener.getEveryLuck(FunListener.kt:63)\n at lgz-bot-0.2.0-pre1.mirai.jar//ltd.guimc.lgzbot.listener.message.FunListener.onMessage(FunListener.kt:37)\n at lgz-bot-0.2.0-pre1.mirai.jar//ltd.guimc.lgzbot.PluginMain$registerEvents$1$2.invokeSuspend(PluginMain.kt:101)\n at lgz-bot-0.2.0-pre1.mirai.jar//ltd.guimc.lgzbot.PluginMain$registerEvents$1$2.invoke(PluginMain.kt)\n at lgz-bot-0.2.0-pre1.mirai.jar//ltd.guimc.lgzbot.PluginMain$registerEvents$1$2.invoke(PluginMain.kt)\n at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:480)\n at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)\n at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)\n at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invokeSuspend(SafeListener.kt:58)\n at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt)\n at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt)\n at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)\n at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:169)\n at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)\n at net.mamoe.mirai.internal.event.SafeListener.onEvent(SafeListener.kt:58)\n at net.mamoe.mirai.internal.event.EventListeners.process(EventListeners.kt:120)\n at net.mamoe.mirai.internal.event.EventListeners.callListeners$mirai_core(EventListeners.kt:68)\n at net.mamoe.mirai.internal.event.EventListeners$callListeners$1.invokeSuspend(EventListeners.kt)\n at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)\n at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:233)\n at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)\n at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)\n at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)\n at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)\n at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)\n at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)\n at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)\n)]) -
RE: OpenAI ChatBot 插件,已添加预设功能(为啥你们都想整猫娘)
今天发现报错了,提示下面的信息
java.net.SocketException: Connection reset at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323) at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350) at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803) at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966) at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:484) at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:478) at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160) at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111) at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1510) at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1425) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426) at mirai-openai-plugin-1.1.0.mirai2.jar[private]//okhttp3.internal.connection.RealConnection.connectTls(RealConnection.kt:379) at mirai-openai-plugin-1.1.0.mirai2.jar[private]//okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.kt:337) at mirai-openai-plugin-1.1.0.mirai2.jar[private]//okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:209) at mirai-openai-plugin-1.1.0.mirai2.jar[private]//okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226) at mirai-openai-plugin-1.1.0.mirai2.jar[private]//okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106) at mirai-openai-plugin-1.1.0.mirai2.jar[private]//okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74) at mirai-openai-plugin-1.1.0.mirai2.jar[private]//okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255) at mirai-openai-plugin-1.1.0.mirai2.jar[private]//okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32) at mirai-openai-plugin-1.1.0.mirai2.jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at mirai-openai-plugin-1.1.0.mirai2.jar[private]//okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95) at mirai-openai-plugin-1.1.0.mirai2.jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at mirai-openai-plugin-1.1.0.mirai2.jar[private]//okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83) at mirai-openai-plugin-1.1.0.mirai2.jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at mirai-openai-plugin-1.1.0.mirai2.jar[private]//okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76) at mirai-openai-plugin-1.1.0.mirai2.jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at mirai-openai-plugin-1.1.0.mirai2.jar[private]//okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201) at mirai-openai-plugin-1.1.0.mirai2.jar[private]//okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833)
-
RE: OpenAI ChatBot 插件,已添加预设功能(为啥你们都想整猫娘)
可以聊天和问答,但是触发不了image,也没报错
没事了,原来是问号后加空一格
但是经常提示上传图片失败,不知道是网络还是什么问题