Pixiv插件 查看排行榜 以图搜图 以图搜番 查看原图 查看作者作品 搜标签
-
@nekoer 嗯嗯改了,但还是出现
-
@littleblueberry 是我缺少啥文件吗,还是我的打开方式不对
-
This post is deleted! -
@littleblueberry 你首先能访问yande.re和konachan网站吗
-
@nekoer 能的
-
-
我都试了下,只有tag和ptsf这两个命令有用,输入setu没有任何反应,输入ptst没有报错,也监听到了,但是没有反应,其他的均报错
输入psid出现2021-08-23 13:47:29 E/main: Exception in coroutine <unnamed> java.lang.NullPointerException at com.hcyacg.details.PicDetails.getDetailOfId(PicDetails.kt:81) at com.hcyacg.Pixiv$onEnable$2.invokeSuspend(Pixiv.kt:36) 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.event._EventBroadcast.broadcastImpl(Event.kt:174) at net.mamoe.mirai.IMirai.broadcastEvent(IMirai.kt:312) at net.mamoe.mirai.internal.MiraiImpl.broadcastEvent$suspendImpl(MiraiImpl.kt:304) at net.mamoe.mirai.internal.MiraiImpl.broadcastEvent(MiraiImpl.kt) at net.mamoe.mirai.event._EventBroadcast.broadcastPublic$suspendImpl(Event.kt:161) at net.mamoe.mirai.event._EventBroadcast.broadcastPublic(Event.kt) at net.mamoe.mirai.event.EventKt.broadcast(Event.kt:148) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcast$2.invokeSuspend(EventDispatcher.kt:90) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcast$2.invoke(EventDispatcher.kt) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcast$2.invoke(EventDispatcher.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.network.components.EventDispatcherImpl.broadcast$suspendImpl(EventDispatcher.kt:89) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl.broadcast(EventDispatcher.kt) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcastAsync$job$1.invokeSuspend(EventDispatcher.kt:105) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcastAsync$job$1.invoke(EventDispatcher.kt) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcastAsync$job$1.invoke(EventDispatcher.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55) at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112) at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126) at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56) at kotlinx.coroutines.BuildersKt.launch(Unknown Source) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl.broadcastAsync-kKe4JaQ(EventDispatcher.kt:102) at net.mamoe.mirai.internal.network.components.EventDispatcher.broadcastAsync-kKe4JaQ$default(EventDispatcher.kt:35) at net.mamoe.mirai.internal.network.components.EventBroadcasterPacketHandler.impl(PacketHandler.kt:87) at net.mamoe.mirai.internal.network.components.EventBroadcasterPacketHandler.handlePacket(PacketHandler.kt:73) at net.mamoe.mirai.internal.network.components.PacketHandlerChain.handlePacket(PacketHandler.kt:42) at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$collectReceived$3.invokeSuspend(NetworkHandlerSupport.kt:84) at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$collectReceived$3.invoke(NetworkHandlerSupport.kt) at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$collectReceived$3.invoke(NetworkHandlerSupport.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55) at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112) at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126) at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56) at kotlinx.coroutines.BuildersKt.launch(Unknown Source) at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47) at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source) at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport.collectReceived$mirai_core(NetworkHandlerSupport.kt:82) at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$PacketDecodePipeline$2$1.invokeSuspend(NettyNetworkHandler.kt:186) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) 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)
输入rank出现
2021-08-23 13:49:47 E/main: Exception in coroutine <unnamed> java.lang.NullPointerException at com.hcyacg.rank.Rank.showRank(Rank.kt:99) at com.hcyacg.Pixiv$onEnable$2.invokeSuspend(Pixiv.kt:44) 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.event._EventBroadcast.broadcastImpl(Event.kt:174) at net.mamoe.mirai.IMirai.broadcastEvent(IMirai.kt:312) at net.mamoe.mirai.internal.MiraiImpl.broadcastEvent$suspendImpl(MiraiImpl.kt:304) at net.mamoe.mirai.internal.MiraiImpl.broadcastEvent(MiraiImpl.kt) at net.mamoe.mirai.event._EventBroadcast.broadcastPublic$suspendImpl(Event.kt:161) at net.mamoe.mirai.event._EventBroadcast.broadcastPublic(Event.kt) at net.mamoe.mirai.event.EventKt.broadcast(Event.kt:148) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcast$2.invokeSuspend(EventDispatcher.kt:90) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcast$2.invoke(EventDispatcher.kt) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcast$2.invoke(EventDispatcher.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.network.components.EventDispatcherImpl.broadcast$suspendImpl(EventDispatcher.kt:89) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl.broadcast(EventDispatcher.kt) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcastAsync$job$1.invokeSuspend(EventDispatcher.kt:105) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcastAsync$job$1.invoke(EventDispatcher.kt) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcastAsync$job$1.invoke(EventDispatcher.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55) at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112) at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126) at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56) at kotlinx.coroutines.BuildersKt.launch(Unknown Source) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl.broadcastAsync-kKe4JaQ(EventDispatcher.kt:102) at net.mamoe.mirai.internal.network.components.EventDispatcher.broadcastAsync-kKe4JaQ$default(EventDispatcher.kt:35) at net.mamoe.mirai.internal.network.components.EventBroadcasterPacketHandler.impl(PacketHandler.kt:87) at net.mamoe.mirai.internal.network.components.EventBroadcasterPacketHandler.handlePacket(PacketHandler.kt:73) at net.mamoe.mirai.internal.network.components.PacketHandlerChain.handlePacket(PacketHandler.kt:42) at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$collectReceived$3.invokeSuspend(NetworkHandlerSupport.kt:84) at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$collectReceived$3.invoke(NetworkHandlerSupport.kt) at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$collectReceived$3.invoke(NetworkHandlerSupport.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55) at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112) at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126) at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56) at kotlinx.coroutines.BuildersKt.launch(Unknown Source) at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47) at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source) at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport.collectReceived$mirai_core(NetworkHandlerSupport.kt:82) at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$PacketDecodePipeline$2$1.invokeSuspend(NettyNetworkHandler.kt:186) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) 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)
输入
-
@littleblueberry 你token的acgmx填了没
-
其他没反应被屏蔽了?
-
@nekoer 没有。。。。那这个应该填什么呢。
-
@littleblueberry 去申请 https://www.acgmx.com/ 到个人中心申请
-
@nekoer 大佬nb,已经完全ojbk了,我爱死你了,mua一个,就是色图没反应,群也填好了
-
大佬问一下为什么查看排行榜控制台有数据消息发不出去,搜索图片他就报错
-
@lolisiki 第一个你机器人被风控,第二个看你能不能访问https://saucenao.com/
顺便把报错给我看看
-
可以访问https://saucenao.com/
这是报错
st[mirai:image:{B60812BD-6D93-8D0B-3140-4A24143A54FD}.jpg]
2021-08-25 22:37:03 V/Bot.3408749007: Event: BeforeImageUploadEvent(target=Group(1038492859), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@574064a)
2021-08-25 22:37:04 V/Bot.3408749007: Event: Succeed(target=Group(1038492859), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@574064a, image=[mirai:image:{0EC85F8E-572D-998D-F467-0B246BD12342}.png])
2021-08-25 22:37:06 V/Bot.3408749007: Event: BeforeImageUploadEvent(target=Group(1038492859), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@4d90a257)
2021-08-25 22:37:07 V/Bot.3408749007: Event: Succeed(target=Group(1038492859), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@4d90a257, image=[mirai:image:{D4FD7FD6-9520-E900-F4E5-0E56A45FBD9F}.png])
2021-08-25 22:37:09 V/Bot.3408749007: Event: BeforeImageUploadEvent(target=Group(1038492859), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@5f4871cc)
2021-08-25 22:37:09 V/Bot.3408749007: Event: Succeed(target=Group(1038492859), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@5f4871cc, image=[mirai:image:{FF36B6CE-1C32-432C-5EC5-B1F7B6D0BC50}.png])
2021-08-25 22:37:10 V/Bot.3408749007: [我的世界(1038492859)] 群底层废物(非洲酋长(再冲是傻批)(2104763066) -> 等我解决搜图错误代码
2021-08-25 22:37:26 W/stderr: java.lang.NullPointerException: Cannot invoke "com.alibaba.fastjson.JSONObject.get(Object)" because the return value of "com.alibaba.fastjson.JSONObject.parseObject(String)" is null
2021-08-25 22:37:26 W/stderr: at com.hcyacg.search.Saucenao.picToSearch(Saucenao.kt:86)
2021-08-25 22:37:26 W/stderr: at com.hcyacg.search.Saucenao$picToSearch$1.invokeSuspend(Saucenao.kt)
2021-08-25 22:37:26 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2021-08-25 22:37:26 W/stderr: at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33)
2021-08-25 22:37:26 W/stderr: at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
2021-08-25 22:37:26 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
2021-08-25 22:37:26 W/stderr: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2021-08-25 22:37:26 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
2021-08-25 22:37:26 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
2021-08-25 22:37:26 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
2021-08-25 22:37:26 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
2021-08-25 22:37:26 V/Bot.3408749007: Event: GroupMessagePreSendEvent(target=Group(1038492859), message=请输入正确的命令 st图片)
2021-08-25 22:37:26 V/Bot.3408749007: Group(1038492859) <- 请输入正确的命令 st图片
2021-08-25 22:37:26 V/Bot.3408749007: Event: GroupMessagePostSendEvent(target=Group(1038492859), message=请输入正确的命令 st图片, exception=null, receipt=net.mamoe.mirai.message.MessageReceipt@37c3073a) -
This post is deleted! -
@fuyon
1、管理员可以,和群一样
2、你这都变红了,怎么不加上双引号呢 -
大佬看一下搜图就会报错,其他功能都正常不知道为什么
st[mirai:image:{1D51D4A9-8874-1FA5-0BED-7F0508CE70BD}.jpg] 2021-08-27 22:19:38 V/Bot.3408749007: Event: BeforeImageUploadEvent(target=Group(682692140), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@7e6d2bcf) 2021-08-27 22:19:42 V/Bot.3408749007: Event: Succeed(target=Group(682692140), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@7e6d2bcf, image=[mirai:image:{96AEDBFE-CAEF-25AD-0AB1-EB26F81D3FF4}.png]) 2021-08-27 22:19:43 V/Bot.3408749007: Event: BeforeImageUploadEvent(target=Group(682692140), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@2b5ef4db) 2021-08-27 22:19:46 V/Bot.3408749007: Event: Succeed(target=Group(682692140), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@2b5ef4db, image=[mirai:image:{711C1F6E-ED26-2FC7-04AF-F2EE0320664E}.png]) 2021-08-27 22:19:47 V/Bot.3408749007: Event: BeforeImageUploadEvent(target=Group(682692140), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@77e6a0de) 2021-08-27 22:19:51 V/Bot.3408749007: Event: Succeed(target=Group(682692140), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@77e6a0de, image=[mirai:image:{A3FB0049-2091-AA72-1C0D-CC29726F5D86}.png]) 2021-08-27 22:19:59 W/stderr: java.lang.NullPointerException: Cannot invoke "com.alibaba.fastjson.JSONObject.get(Object)" because the return value of "com.alibaba.fastjson.JSONObject.parseObject(String)" is null 2021-08-27 22:19:59 W/stderr: at com.hcyacg.search.Saucenao.picToSearch(Saucenao.kt:86) 2021-08-27 22:19:59 W/stderr: at com.hcyacg.search.Saucenao$picToSearch$1.invokeSuspend(Saucenao.kt) 2021-08-27 22:19:59 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) 2021-08-27 22:19:59 W/stderr: at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) 2021-08-27 22:19:59 W/stderr: at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) 2021-08-27 22:19:59 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) 2021-08-27 22:19:59 W/stderr: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) 2021-08-27 22:19:59 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) 2021-08-27 22:19:59 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) 2021-08-27 22:19:59 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) 2021-08-27 22:19:59 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) 2021-08-27 22:19:59 V/Bot.3408749007: Event: GroupMessagePreSendEvent(target=Group(682692140), message=请输入正确的命令 st图片) 2021-08-27 22:19:59 V/Bot.3408749007: Group(682692140) <- 请输入正确的命令 st图片 2021-08-27 22:19:59 V/Bot.3408749007: Event: GroupMessagePostSendEvent(target=Group(682692140), message=请输入正确的命令 st图片, exception=null, receipt=net.mamoe.mirai.message.MessageReceipt@12d5be23)
-
@nekoer 收到~谢谢回答!
-
@nekoer 我不知道我这边是哪里出了问题