Git Product home page Git Product logo

mirai-console-mcmod-plugin's Introduction

本项目是基于 Mirai Console 编写的插件

所有数据均来源于MC百科

戳一戳机器人头像可以获取帮助

指令

/mcmod setConfig <kind> [enabled]    # 配置消息回复功能
/mcmod setGroupConfig <enabled> [groupId]    # 配置具体群消息回复功能
/mcmod setQueryCommand <type> <command>    # 配置查询指令

设置指定群启动消息回复两种方法:

  • 1.在需要的群发送 /mcmod setGroupConfig true 开启
  • 2.在控制台或对机器人发送 /mcmod setGroupConfig true qq群号码 开启

kind有如下类型: 如设置群消息回复 /mcmod setConfig GROUP true

  • GROUP:群消息
  • FRIEND:好友消息
  • TEMP:临时消息
  • STRANGER:陌生人消息

type有如下类型: 如设置查询物品命令 /mcmod setQueryCommand ITEM ssi

  • ALL:全部
  • MODULE_PACKAGE:整合包
  • MODULE:模组
  • ITEM:物品
  • COURSE:教程
  • AUTHOR:作者
  • USER:用户
  • COMMUNITY:社群
  • SERVER:服务器

默认命令:

MODULE = ssm
ITEM = ssi
COURSE = ssc
MODULE_PACKAGE = ssp
SERVER = sss

其他配置直接更改配置文件:

路径:config/top.limbang.mcmod/mcmod.yml

# 是否启用戳一戳回复功能 true:启用 false:禁用
isNudgeEnabled: true
# 是否启用显示原Url功能,默认不启用 true:启用 false:禁用
isShowOriginalUrlEnabled: false
# 是否启用模组显示相关链接功能,默认不启用 true:启用 false:禁用
isShowRelatedLinksEnabled: false
# 是否启用模组显示支持版本功能,默认不启用 true:启用 false:禁用
isShowSupportedVersionEnabled: false
# 是否启用多次选择功能可以多次选择搜索的结果,默认不启用 true:启用 false:禁用
isMultipleSelectEnabled: false
# 每页显示多少条目,默认为 6
pageSize: 6

功能展示

搜索物品: 搜索模组: 搜索服务器: 搜索教程: 搜索整合包:

mirai-console-mcmod-plugin's People

Contributors

jie65535 avatar limbang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mirai-console-mcmod-plugin's Issues

疑似mcmodUA检测更新

访问mcmod返回
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" /><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1" /><title>跳转中...</title></head><body><div id="svg-circles"></div><div class="l-wrapper"><script>window['yjs_js_challenge_token']='d7cefe883e70cf51cb02d2999e9c5245a0584b6f_1643100774'</script><script type="text/javascript" src="/.well-known/yunjiasu-cgi/scripts/miao.v2.min.js"></script><script type="text/javascript" src="/.well-known/yunjiasu-cgi/scripts/jschl.js"></script></div></body></html>
并导致报错

复现步骤:只要涉及到内容部分,即会返回上文

Bug: 返回内容过长时无回应

举例:DATA 类型搜索“多功能一体机”,聊天窗口无回复,后台返回下述报错:

2022-01-30 22:01:17 E/top.limbang.mirai-console-mcmod-plugin: Exception in coroutine Plugin top.limbang.mirai-console-mcmod-plugin of top.limbang.mirai-console-mcmod-plugin
net.mamoe.mirai.contact.MessageTooLargeException: message([mirai:image:{FBB0D5D2-A730-31C4-73AF-E4FFFBBBC8A9}.png]多功能一体机 (All-in-one Machine)https://www.mcmod...) is too large. Allow up to 50 images or 5000 chars
        at net.mamoe.mirai.internal.contact.UtilKt.verifyLength(util.kt:82)
        at net.mamoe.mirai.internal.contact.SendMessageHandlerKt.transformSpecialMessages$processForwardMessage(SendMessageHandler.kt:304)
        at net.mamoe.mirai.internal.contact.SendMessageHandlerKt.transformSpecialMessages(SendMessageHandler.kt:322)
        at net.mamoe.mirai.internal.contact.SendMessageHandlerKt.sendMessage(SendMessageHandler.kt:339)
        at net.mamoe.mirai.internal.contact.GroupImpl.sendMessage(GroupImpl.kt:168)
        at top.limbang.mirai.mcmod.service.MessageHandle.dataHandle(MessageHandle.kt:63)
        at top.limbang.mirai.mcmod.service.MessageHandle$dataHandle$1.invokeSuspend(MessageHandle.kt)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33)
        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)

由于QQ更改了转发消息,编号不显示

Screenshot_2024-03-24-06-39-13-725_com tencent mobileqq-edit
Screenshot_2024-03-24-06-39-30-186_com tencent mobileqq-edit
如图所示,因为腾讯转发消息不再能改发送人名字。
所以回复编号查看,要数一下,没办法第一时间获取编号信息。
可以改成在发出的搜索结果前加编号
(不改也不影响使用(

搜索“龙之生存”报错

“请求失败:Illegal base64 character 40”
选到这个mod就返回这个了·-·暂时没发现还有别的mod报错

Bug: 疑似不支持WebP图片

以mod类型搜索“车万女仆”,聊天区无回复,后台报以下错误:

2022-03-15 16:18:41 E/top.limbang.mirai-console-mcmod-plugin: Exception in coroutine Plugin top.limbang.mirai-console-mcmod-plugin of top.limbang.mirai-console-mcmod-plugin
java.lang.IllegalArgumentException: Unsupported image type (mirai) for ExternalResource net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@313b6f38, considering use gif/png/bmp/jpg format. image header: 52 49 46 46 14 EE 01 00 57 45 42 50 56 50 38 4C 07 EE 01 00 2F FF C3 BF 10 CD 30 72 DB 36
        at net.mamoe.mirai.internal.message.ImageDecoderKt.calculateImageInfo(ImageDecoder.kt:160)
        at net.mamoe.mirai.internal.contact.GroupImpl$uploadImage$lambda-19$$inlined$runBIO$1.invoke(CoroutineUtils.kt:194)
        at kotlinx.coroutines.InterruptibleKt.runInterruptibleInExpectedContext(Interruptible.kt:46)
        at kotlinx.coroutines.InterruptibleKt.access$runInterruptibleInExpectedContext(Interruptible.kt:1)
        at kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(Interruptible.kt:38)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:39)
        at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
        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)

文件头中可得到以下关键词:

  • RIFF
  • WEBP VP8L

建议保留搜索列表

保留搜索列表内容,直到下一次搜索或N分钟后

例:
比如我搜索了IC2
返回了IC2及IC2附属等mod
选择一个序号查看后可以继续选择别的序号查看

搜索模组`猫咪装饰`时报错

日志

-> mod 猫咪装饰                
2022-03-30 21:36:49 W/stderr: Exception in thread "OkHttp Dispatcher" java.lang.NoSuchMethodError: 'java.lang.String org.jsoup.J
soup.clean(java.lang.String, org.jsoup.safety.Safelist)'                                                                        
2022-03-30 21:36:49 W/stderr:   at top.limbang.mcmod.network.utils.McmodUtilsKt.labelReplacement(McmodUtils.kt:27)              
2022-03-30 21:36:49 W/stderr:   at top.limbang.mcmod.network.converter.ModuleResponseBodyConverter.convert(ModuleResponseBodyCon
verter.kt:59)                                                                                                                   
2022-03-30 21:36:49 W/stderr:   at top.limbang.mcmod.network.converter.ModuleResponseBodyConverter.convert(ModuleResponseBodyCon
verter.kt:22)                                                                                                                   
2022-03-30 21:36:49 W/stderr:   at retrofit2.OkHttpCall.parseResponse(OkHttpCall.java:243)
2022-03-30 21:36:49 W/stderr:   at retrofit2.OkHttpCall$1.onResponse(OkHttpCall.java:153)
2022-03-30 21:36:49 W/stderr:   at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
2022-03-30 21:36:49 W/stderr:   at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
2022-03-30 21:36:49 W/stderr:   at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
2022-03-30 21:36:49 W/stderr:   at java.base/java.lang.Thread.run(Thread.java:829)

mcmod对应地址:猫咪装饰

重启后失效

重启机器人后要输入
/mcmod setQueryCommand ITEM ssi

才能用了

可选关闭戳一戳提示

由于与其他插件的戳一戳功能会产生矛盾,希望能添加配置文件以关闭该功能。

Bug: 搜索特定mod时报错

以“模组”类型搜索“龙之生存”时,无回复,后台报错:

2022-01-29 10:46:10 E/top.limbang.mirai-console-mcmod-plugin: Exception in coroutine Plugin top.limbang.mirai-console-mcmod-plugin of top.limbang.mirai-console-mcmod-plugin
java.lang.IllegalArgumentException: Unsupported image type (mirai) for ExternalResource net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@65b55785, considering use gif/png/bmp/jpg format. image header: 3C 21 44 4F 43 54 59 50 45 20 68 74 6D 6C 3E 0A 3C 68 74 6D 6C 20 6C 61 6E 67 3D 22 7A 68
        at net.mamoe.mirai.internal.message.ImageDecoderKt.calculateImageInfo(ImageDecoder.kt:160)
        at net.mamoe.mirai.internal.contact.GroupImpl$uploadImage$lambda-19$$inlined$runBIO$1.invoke(CoroutineUtils.kt:164)
        at kotlinx.coroutines.InterruptibleKt.runInterruptibleInExpectedContext(Interruptible.kt:46)
        at kotlinx.coroutines.InterruptibleKt.access$runInterruptibleInExpectedContext(Interruptible.kt:1)
        at kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(Interruptible.kt:38)
        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)

以其他方式搜得“龙之生存”mod,输序号后依旧报错,如上。

建议可选保留百科站链接

用 v2 版本后发现如果结果能全部显示,则开头的百科站链接会被省略。
实际上转发消息中的资料可能存在排版缺失等问题,因此希望能给予配置选项,始终显示百科站链接。

感谢代码贡献,辛苦了!

机器人回复的图片不生效

如下图
查询物品的图片生效,MCmod中简介栏图片不生效
但是效仿readme中查询教程功能与查询整合包功能
机器人回复的内容中图片不生效
请问该如何解决

QQ图片20240305144136

QQ截图20240305143756

linux+lagrange出现这样的问题

2024-05-10 19:48:14 E/Mcmod: Exception in coroutine Plugin top.limbang.mcmod of Mcmod
top.mrxiaom.overflow.internal.deps.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected STRING but was BEGIN_OBJECT at path $.data
at top.mrxiaom.overflow.internal.deps.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:397)
at top.mrxiaom.overflow.internal.deps.gson.Gson.fromJson(Gson.java:1227)
at top.mrxiaom.overflow.internal.deps.gson.Gson.fromJson(Gson.java:1329)
at top.mrxiaom.overflow.internal.deps.gson.Gson.fromJson(Gson.java:1300)
at cn.evolvefield.onebot.client.core.Bot.sendGroupForwardMsgLagrange(Bot.kt:1498)
at cn.evolvefield.onebot.client.core.Bot$sendGroupForwardMsgLagrange$1.invokeSuspend(Bot.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33)
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:750)
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: Expected STRING but was BEGIN_OBJECT at path $.data
at top.mrxiaom.overflow.internal.deps.gson.internal.bind.JsonTreeReader.nextString(JsonTreeReader.java:187)
at top.mrxiaom.overflow.internal.deps.gson.internal.bind.TypeAdapters$15.read(TypeAdapters.java:421)
at top.mrxiaom.overflow.internal.deps.gson.internal.bind.TypeAdapters$15.read(TypeAdapters.java:409)
at top.mrxiaom.overflow.internal.deps.gson.internal.bind.ReflectiveTypeAdapterFactory$1.readIntoField(ReflectiveTypeAdapterFactory.java:212)
at top.mrxiaom.overflow.internal.deps.gson.internal.bind.ReflectiveTypeAdapterFactory$FieldReflectionAdapter.readField(ReflectiveTypeAdapterFactory.java:433)
at top.mrxiaom.overflow.internal.deps.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:393)
... 14 more

BUG 在搜索部分内容时报错

搜索“百科模组bc 查看4时”
E/top.limbang.mirai-console-mcmod-plugin: Exception in coroutine Plugin top.limbang.mirai-console-mcmod-plugin of top.limbang.mirai-console-mcmod-plugin java.lang.IllegalStateException: cannot upload group image, failed on all servers. at net.mamoe.mirai.internal.network.highway.Highway.uploadResourceBdh(Highway.kt:448) at net.mamoe.mirai.internal.network.highway.Highway$uploadResourceBdh$1.invokeSuspend(Highway.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:32) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:113) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104) 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) Caused by: java.lang.IllegalStateException: highway transfer failed, error 83 at net.mamoe.mirai.internal.network.highway.HighwayKt.sendReceiveHighway(Highway.kt:356) at net.mamoe.mirai.internal.network.highway.HighwayKt$sendReceiveHighway$1.invokeSuspend(Highway.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) ... 4 more Suppressed: java.lang.IllegalStateException: highway transfer failed, error 83 ... 8 more Suppressed: java.lang.IllegalStateException: highway transfer failed, error 83 ... 8 more Suppressed: java.lang.IllegalStateException: highway transfer failed, error 83 ... 8 more
Java:AdoptOpenJDK 11.0.10
mirai2.6.3,2.7M1

建议命令精准匹配

避免某些情况下的误触
(比如搜mod的命令是mod)
然后打了一句话是mod开头导致被触发
啊。。被触发好多次的绝望

功能建议

希望可以添加自定义命令搜索
例如百科模组 IC2 通过自定义改为/mod IC2
添加mcmod的原链接及相关链接功能
最好在合并转发内,有点刷屏

查询超时时建议返回超时信息

比如百科站挂掉时查询信息,后台会报以下错误,但聊天区无任何回应。
建议能返回一句“查询超时,请……”

2022-03-06 09:26:37 E/top.limbang.mirai-console-mcmod-plugin: Exception in coroutine Plugin top.limbang.mirai-console-mcmod-plugin of top.limbang.mirai-console-mcmod-plugin
java.net.SocketTimeoutException: timeout
        at okhttp3.internal.http2.Http2Stream$StreamTimeout.newTimeoutException(Http2Stream.kt:677)
        at okhttp3.internal.http2.Http2Stream$StreamTimeout.exitAndThrowIfTimedOut(Http2Stream.kt:686)
        at okhttp3.internal.http2.Http2Stream.takeHeaders(Http2Stream.kt:143)
        at okhttp3.internal.http2.Http2ExchangeCodec.readResponseHeaders(Http2ExchangeCodec.kt:96)
        at okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.kt:106)
        at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:79)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
        at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
        at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
        at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
        at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
        at top.limbang.mirai.mcmod.service.AgentInterceptor.intercept(HttpUtil.kt:81)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
        at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
        at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
        at top.limbang.mirai.mcmod.service.HttpUtil.get(HttpUtil.kt:33)
        at top.limbang.mirai.mcmod.service.HttpUtil.getDocument(HttpUtil.kt:47)
        at top.limbang.mirai.mcmod.service.MinecraftMod.search(MinecraftMod.kt:158)
        at top.limbang.mirai.mcmod.service.MinecraftMod.search(MinecraftMod.kt:36)
        at top.limbang.mirai.mcmod.service.MinecraftModService.search(MinecraftModService.kt:17)
        at top.limbang.mirai.mcmod.service.MinecraftModService.getSearchList(MinecraftModService.kt:23)
        at top.limbang.mirai.mcmod.MiraiConsoleMcmodPlugin$onEnable$1$1.invokeSuspend(MiraiConsoleMcmodPlugin.kt:68)
        at top.limbang.mirai.mcmod.MiraiConsoleMcmodPlugin$onEnable$1$1.invoke(MiraiConsoleMcmodPlugin.kt)
        at top.limbang.mirai.mcmod.MiraiConsoleMcmodPlugin$onEnable$1$1.invoke(MiraiConsoleMcmodPlugin.kt)
        at net.mamoe.mirai.event.MessageSubscribersBuilder$reply$3.invokeSuspend(MessageSubscribersBuilder.kt:510)
        at net.mamoe.mirai.event.MessageSubscribersBuilder$reply$3.invoke(MessageSubscribersBuilder.kt)
        at net.mamoe.mirai.event.MessageSubscribersBuilder$reply$3.invoke(MessageSubscribersBuilder.kt)
        at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$content$1.invokeSuspend(messageSubscribersInternal.kt:27)
        at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$content$1.invoke(messageSubscribersInternal.kt)
        at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$content$1.invoke(messageSubscribersInternal.kt)
        at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invokeSuspend(subscribeMessages.kt:253)
        at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invoke(subscribeMessages.kt)
        at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invoke(subscribeMessages.kt)
        at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:455)
        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:166)
        at net.mamoe.mirai.internal.event.InternalEventListenersKt.access$process(InternalEventListeners.kt:1)
        at net.mamoe.mirai.internal.event.InternalEventListenersKt$callAndRemoveIfRequired$2$1.invokeSuspend(InternalEventListeners.kt:132)
        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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.