随机色图插件
-
@蝶陌沧海 本插件是基于Mirai 2.7-M2的,目前mirai还不支持ios端
-
咋没产生那个setu文件夹呢
-
@233yuzi 破案了,是因为我下的是gitee里的版本了
-
请问全局模式和非全局模式有什么区别
-
那个....api要怎么接入到插件里
-
@shigure 全局就是所有群都开启,非全局就是只开启当前群
-
@qyin-11 不是很明白你的意思
-
@ycituss 目前我只要发送有关gkd setu 2 r18 或者super open setu这类涉及到字符setu的指令,就会有如下WARNIG,然后群内并不会发送图片,即使在报错后会显示
2021-08-29 11:40:10 I/stdout: {"error":"","data":[{"pid":65174813,"p":0,"uid":827582,"title":"ロリサキュバスちゃん","author":"もちゆき","r18":true,"width":1306,"height":1758,"tags":["R-18","オリジナル","原创","サキュバス","魅魔","ぱんつ"," 胖次","チェックパンツ","plaid panties","ロリサキュバス","loli succubus","CLIPSTUDIOPAINT","えっちなことがにがてなロリサ キュバスちゃん"],"ext":"png","uploadDate":1506594841000,"urls":{"small":"https://i.pixiv.c540x540_70/img-master/img/2017/09/28/19/34/01/65174813_p0_master1200.jpg"}}]} (我把链接处理了一下)
报错信息:
2021-08-29 11:40:09 W/stderr: java.io.IOException: Unexpected response code for CONNECT: 404
2021-08-29 11:40:09 W/stderr: at okhttp3.internal.connection.RealConnection.createTunnel(RealConnection.kt:471)
2021-08-29 11:40:09 W/stderr: at okhttp3.internal.connection.RealConnection.connectTunnel(RealConnection.kt:250)
2021-08-29 11:40:09 W/stderr: at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:189)
2021-08-29 11:40:09 W/stderr: at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:249)
2021-08-29 11:40:09 W/stderr: at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:108)
2021-08-29 11:40:09 W/stderr: at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:76)
2021-08-29 11:40:09 W/stderr: at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:245)
2021-08-29 11:40:09 W/stderr: at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
2021-08-29 11:40:09 W/stderr: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
2021-08-29 11:40:09 W/stderr: at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:82)
2021-08-29 11:40:09 W/stderr: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
2021-08-29 11:40:09 W/stderr: at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
2021-08-29 11:40:09 W/stderr: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
2021-08-29 11:40:09 W/stderr: at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
2021-08-29 11:40:09 W/stderr: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
2021-08-29 11:40:09 W/stderr: at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:197)
2021-08-29 11:40:09 W/stderr: at okhttp3.internal.connection.RealCall.execute(RealCall.kt:148)
2021-08-29 11:40:09 W/stderr: at com.hcyacg.utils.RequestUtil$Companion.httpArray(RequestUtil.kt:101)
2021-08-29 11:40:09 W/stderr: at com.hcyacg.utils.RequestUtil$Companion.requestArray(RequestUtil.kt:49)
2021-08-29 11:40:09 W/stderr: at com.hcyacg.sexy.SexyCenter.konachan(SexyCenter.kt:94)
2021-08-29 11:40:09 W/stderr: at com.hcyacg.sexy.SexyCenter.init(SexyCenter.kt:47)
2021-08-29 11:40:09 W/stderr: at com.hcyacg.Pixiv$onEnable$2.invokeSuspend(Pixiv.kt:56)
2021-08-29 11:40:09 W/stderr: at com.hcyacg.Pixiv$onEnable$2.invoke(Pixiv.kt)
2021-08-29 11:40:09 W/stderr: at com.hcyacg.Pixiv$onEnable$2.invoke(Pixiv.kt)
2021-08-29 11:40:09 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:432)
2021-08-29 11:40:09 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
2021-08-29 11:40:09 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
2021-08-29 11:40:09 W/stderr: at net.mamoe.mirai.internal.event.Handler$onEvent$2.invokeSuspend(InternalEventListeners.kt:50)
2021-08-29 11:40:09 W/stderr: at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
2021-08-29 11:40:09 W/stderr: at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
2021-08-29 11:40:09 W/stderr: at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
2021-08-29 11:40:09 W/stderr: at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
2021-08-29 11:40:09 W/stderr: at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
2021-08-29 11:40:09 W/stderr: at net.mamoe.mirai.internal.event.Handler.onEvent(InternalEventListeners.kt:50)
2021-08-29 11:40:09 W/stderr: at net.mamoe.mirai.internal.event.InternalEventListenersKt.process(InternalEventListeners.kt:160)
2021-08-29 11:40:09 W/stderr: at net.mamoe.mirai.internal.event.InternalEventListenersKt.callAndRemoveIfRequired(InternalEventListeners.kt:109)
2021-08-29 11:40:09 W/stderr: at net.mamoe.mirai.internal.event.InternalEventListenersKt$callAndRemoveIfRequired$1.invokeSuspend(InternalEventListeners.kt)
2021-08-29 11:40:09 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2021-08-29 11:40:09 W/stderr: at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:142)
2021-08-29 11:40:09 W/stderr: at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
2021-08-29 11:40:09 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
2021-08-29 11:40:09 W/stderr: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2021-08-29 11:40:09 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
2021-08-29 11:40:09 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
2021-08-29 11:40:09 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
2021-08-29 11:40:09 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
2021-08-29 11:40:09 E/main: Exception in coroutine <unnamed>
java.lang.NullPointerException
at com.hcyacg.sexy.SexyCenter.konachan(SexyCenter.kt:101)
at com.hcyacg.sexy.SexyCenter.init(SexyCenter.kt:47)
at com.hcyacg.Pixiv$onEnable$2.invokeSuspend(Pixiv.kt:56)
at com.hcyacg.Pixiv$onEnable$2.invoke(Pixiv.kt)
at com.hcyacg.Pixiv$onEnable$2.invoke(Pixiv.kt)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:432)
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:160)
at net.mamoe.mirai.internal.event.InternalEventListenersKt.callAndRemoveIfRequired(InternalEventListeners.kt:109)
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:142)
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) -
但是发送 gkd 风景 /gkd 这些不含setu的指令就会正常发送图片
-
@ycituss 哦哦哦哦哦,我错了,原来即使发warning也会正常发送图片
-
这个可以设置私聊吗
-
@3274940045 没有设置私聊的功能,你完全可以创建一个只有你和机器人的群使用
-
您好 请问一下
2021-09-09 07:12:56 V/Bot.964123874: Event: GroupMessagePreSendEvent(target=Group(797879458), message=[mirai:image:{52EF7E34-E3EC-7B0F-F0F9-1ED243D2F042}.jpg])
2021-09-09 07:12:59 V/Bot.964123874: Group(797879458) <- [mirai:image:{52EF7E34-E3EC-7B0F-F0F9-1ED243D2F042}.jpg]
2021-09-09 07:12:59 V/Bot.964123874: Event: GroupMessagePostSendEvent(target=Group(797879458), message=[mirai:image:{52EF7E34-E3EC-7B0F-F0F9-1ED243D2F042}.jpg], exception=null, receipt=net.mamoe.mirai.message.MessageReceipt@1faea148)
感觉是有图片的。。但是就是没有发出来 想请教一下是什么情况 -
@exziro 腾讯风控,我最近也发不出来图片
-
从昨天开始就发不出来图片了,但是可以在控制台点链接,浏览器看(doge)
-
@95721 你更新一下。。现在好了。。能看普通图了(笑
就是没得R18了。。很绝 -
@exziro 有r18啊,我的还能用
-
@exziro okkk,蟹蟹大佬
-
话说既然有了转发模式
能不能增加对bot单次发送图片数量的设置( -
此回复已被删除!