正在进行快速开发阶段,项目结构、包名等可能随时改变,正式发布前请勿提交变动较大的 Pull Requests。
本项目使用了 onebot-client 进行快速开发。
感谢该项目为本项目的发起者节约了大量的阅读文档与设计接口时间。
替换 mirai 实现为 Onebot 以进行无缝迁移
Home Page: https://mirai.mrxiaom.top
License: GNU Affero General Public License v3.0
正在进行快速开发阶段,项目结构、包名等可能随时改变,正式发布前请勿提交变动较大的 Pull Requests。
本项目使用了 onebot-client 进行快速开发。
感谢该项目为本项目的发起者节约了大量的阅读文档与设计接口时间。
W/Onebot: Request failed: [send_group_msg, echo=13]
使用最新构建时启动时报错
2024-01-24 08:25:56 E/mirai-hibernate-plugin: org.hibernate.MappingException: entity class not found: xyz.cssxsh.mirai.hibernate.entry.FaceRecord org.hibernate.MappingException: entity class not found: xyz.cssxsh.mirai.hibernate.entry.FaceRecord at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.mapping.PersistentClass.getMappedClass(PersistentClass.java:171) at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.boot.model.internal.BinderHelper.getPropertyOverriddenByMapperOrMapsId(BinderHelper.java:873) at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.boot.model.internal.PropertyBinder.bindBasic(PropertyBinder.java:1016) at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.boot.model.internal.PropertyBinder.bindProperty(PropertyBinder.java:890) at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.boot.model.internal.PropertyBinder.buildProperty(PropertyBinder.java:788) at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.boot.model.internal.PropertyBinder.processElementAnnotations(PropertyBinder.java:709) at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.boot.model.internal.EntityBinder.processIdPropertiesIfNotAlready(EntityBinder.java:1026) at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.boot.model.internal.EntityBinder.handleIdentifier(EntityBinder.java:354) at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.boot.model.internal.EntityBinder.bindEntityClass(EntityBinder.java:234) at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.boot.model.internal.AnnotationBinder.bindClass(AnnotationBinder.java:423) at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.boot.model.source.internal.annotations.AnnotationMetadataSourceProcessorImpl.processEntityHierarchies(AnnotationMetadataSourceProcessorImpl.java:256) at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.boot.model.process.spi.MetadataBuildingProcess$1.processEntityHierarchies(MetadataBuildingProcess.java:279) at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:322) at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.boot.model.process.spi.MetadataBuildingProcess.build(MetadataBuildingProcess.java:129) at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:449) at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:101) at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:910) at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:960) at mirai-hibernate-plugin-2.8.0.mirai2.jar//xyz.cssxsh.mirai.hibernate.MiraiHibernatePlugin.onEnable(MiraiHibernatePlugin.kt:58) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:244) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:393) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:40) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:54) at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:173) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:193) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:360) at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:512) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:182) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:181) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:59) Caused by: org.hibernate.boot.registry.classloading.spi.ClassLoadingException: Unable to load class [xyz.cssxsh.mirai.hibernate.entry.FaceRecord] at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.classForName(ClassLoaderServiceImpl.java:126) at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.boot.internal.ClassLoaderAccessImpl.classForName(ClassLoaderAccessImpl.java:67) at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.mapping.PersistentClass.getMappedClass(PersistentClass.java:166) ... 30 more Caused by: java.lang.ExceptionInInitializerError at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Unknown Source) at mirai-hibernate-plugin-2.8.0.mirai2.jar[shared]//org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.classForName(ClassLoaderServiceImpl.java:123) ... 32 more Caused by: java.lang.IllegalArgumentException: Serializer for PttMessage can't be registered as a subclass for polymorphic serialization because its kind OPEN is not concrete. To work with multiple hierarchies, register it as a base class. at kotlinx.serialization.json.internal.PolymorphismValidator.checkKind(PolymorphismValidator.kt:41) at kotlinx.serialization.json.internal.PolymorphismValidator.polymorphic(PolymorphismValidator.kt:31) at kotlinx.serialization.modules.SerialModuleImpl.dumpTo(SerializersModule.kt:189) at kotlinx.serialization.json.JsonImpl.validateConfiguration(Json.kt:375) at kotlinx.serialization.json.JsonImpl.<init>(Json.kt:369) at kotlinx.serialization.json.JsonKt.Json(Json.kt:191) at kotlinx.serialization.json.JsonKt.Json$default(Json.kt:187) at mirai-hibernate-plugin-2.8.0.mirai2.jar//xyz.cssxsh.mirai.hibernate.entry.FaceRecord.<clinit>(FaceRecord.kt:66) ... 35 more
添加mirai-hibernate-plugin-2.8.0.mirai2插件,启动报错
2.16.0-19e495b
No response
No response
No response
No response
使用openShamrock对接并启用QC码格式,机器人不处理全局指令
带/时回复正常
2024-01-24 08:32:25 V/Bot.2584574762: [季落秋风 - Minecraft(806915610)] 服主-梓不过是枫(2039475150) -> "/wifeyouwant" 2024-01-24 08:32:25 V/Bot.2584574762: Group(806915610) <- 变态渣男插件 - 帮助 /wuw reload - 重载配置文件
不带/的全局指令不处理
2024-01-24 08:32:34 V/Bot.2584574762: [季落秋风 - Minecraft(806915610)] 服主-梓不过是枫(2039475150) -> "抽老婆"
使用openShamrock对接并启用QC码
2.16.0-19e495b
No response
No response
No response
No response
通过overflow和lagrange发送语音消息无法发出
通过overflow和lagrange发送语音消息无法发出
No response
2024-03-08 23:08:02 W/Onebot: Request failed: [send_group_msg, echo=196] app=Lagrange.OneBot v0.0.3 ,message=, retCode=200, retJson={"status":"failed","retcode":200,"data":null,"echo":196}
2024-03-08 23:08:02 V/Bot.2411510662: Group(937068620) <- [overflow:audio,file=base64:////lcQBTAAAD+M66iEFCEDHR0zPvlSVMi... (about 10.83 KB)]
2024-03-08 23:08:02 D/Onebot: Client received <-- {"status":"failed","retcode":200,"data":null,"echo":196}
2024-03-08 23:08:02 W/Onebot: Request failed: [send_group_msg, echo=196] app=Lagrange.OneBot v0.0.3 ,message=, retCode=200, retJson={"status":"failed","retcode":200,"data":null,"echo":196}
2024-03-08 23:08:02 V/Onebot: Stacktrace:
cn.evolvefield.onebot.client.util.ActionFailedException: app=Lagrange.OneBot v0.0.3 ,message=, retCode=200, retJson={"status":"failed","retcode":200,"data":null,"echo":196}
at cn.evolvefield.onebot.client.util.ActionSendRequest.send(ActionSendRequest.kt:49)
at cn.evolvefield.onebot.client.util.ActionSendRequest$send$1.invokeSuspend(ActionSendRequest.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.DispatchedTaskKt.resume(DispatchedTask.kt:178)
at kotlinx.coroutines.DispatchedTaskKt.dispatch(DispatchedTask.kt:166)
at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(CancellableContinuationImpl.kt:397)
at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl(CancellableContinuationImpl.kt:431)
at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl$default(CancellableContinuationImpl.kt:420)
at kotlinx.coroutines.CancellableContinuationImpl.resumeWith(CancellableContinuationImpl.kt:328)
at kotlinx.coroutines.ResumeAwaitOnCompletion.invoke(JobSupport.kt:1413)
at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:318)
at kotlinx.coroutines.JobSupport.tryFinalizeSimpleState(JobSupport.kt:295)
at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:856)
at kotlinx.coroutines.JobSupport.makeCompleting$kotlinx_coroutines_core(JobSupport.kt:806)
at kotlinx.coroutines.CompletableDeferredImpl.complete(CompletableDeferred.kt:92)
at cn.evolvefield.onebot.client.util.ActionSendRequest.onCallback(ActionSendRequest.kt:64)
at cn.evolvefield.onebot.client.handler.ActionHandler.onReceiveActionResp(ActionHandler.kt:38)
at cn.evolvefield.onebot.client.connection.IAdapter$DefaultImpls.onReceiveMessage(IAdapter.kt:26)
at cn.evolvefield.onebot.client.connection.WSClient.onReceiveMessage(WSClient.kt:19)
at cn.evolvefield.onebot.client.connection.WSClient.onMessage(WSClient.kt:45)
at top.mrxiaom.overflow.internal.deps.websocket.client.WebSocketClient.onWebsocketMessage(WebSocketClient.java:636)
at top.mrxiaom.overflow.internal.deps.websocket.drafts.Draft_6455.processFrameText(Draft_6455.java:986)
at top.mrxiaom.overflow.internal.deps.websocket.drafts.Draft_6455.processFrame(Draft_6455.java:910)
at top.mrxiaom.overflow.internal.deps.websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:402)
at top.mrxiaom.overflow.internal.deps.websocket.WebSocketImpl.decode(WebSocketImpl.java:234)
at top.mrxiaom.overflow.internal.deps.websocket.client.WebSocketClient.run(WebSocketClient.java:516)
at java.base/java.lang.Thread.run(Thread.java:833)
warn: Lagrange.OneBot.Core.Operation.OperationService[0]
Unexpected error encountered while handling message.
System.Exception: Encode failed
at Lagrange.OneBot.Message.Entity.RecordSegment.Build(MessageBuilder builder, SegmentBase segment)
at Lagrange.OneBot.Core.Operation.Message.MessageCommon.BuildMessages(MessageBuilder builder, List`1 segments)
at Lagrange.OneBot.Core.Operation.Message.SendGroupMessageOperation.HandleOperation(BotContext context, JsonNode payload)
at Lagrange.OneBot.Core.Operation.OperationService.HandleOperation(MsgRecvEventArgs e)
已使用最新版Overflow,连接Lagrange,无法发送合并转发消息(node)。
自己研究了下发现了问题,拉格兰发送转发消息的时候,“uin”的值为qq号的字符串型,如果正常传入整数型会导致拉格兰报错并且无法发送。
是否考虑增加一个配置项以适配合并转发?
overflow-2.16.0-3ecc323,在Lagrange 602c67a 中能收到消息,但是在overflow日志中没有出现消息,退回d59ef26后正常,使用命令可主动发送消息。以及合并消息,消息包含@时发送日志显示W/Onebot: Request failed: [send_group_forward_msg, echo=33] , retCode=404
使用overflow-2.16.0-3ecc323与Lagrange
发送包含@群友的消息,以及合并转发消息
Lagrange602c67a
3ecc323版本收不到消息在overflow侧没有日志
发送包含@群友的消息
2024-02-27 15:53:29 W/Onebot: Request failed: [send_group_msg, echo=5] , retCode=200
2024-02-27 15:53:29 V/Bot.*: Group(*) <- [mirai:at:*]
这里是消息内容
2024-02-27 15:53:32 V/Bot.*: Group(*) <- [overflow:image,url=base64:///9j/4AAQSkZJRgABA*AD/4QAi... (about 203.00 KB),isEmoji=false]
图片的内容正常发送
合并转发消息
2024-02-27 15:55:51 W/Onebot: Request failed: [send_group_forward_msg, echo=10] , retCode=404
2024-02-27 15:55:51 V/Bot.*: Group(*) <- ForwardMessage(preview=[], title=*, brief=[*], source=*, summary=*, nodeList=[])
No response
No response
2024-02-11 12:30:07 W/stderr: Exception in thread "DefaultDispatcher-worker-9" java.lang.NumberFormatException: For input string: "2518984560"
2024-02-11 12:30:07 W/stderr: at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
2024-02-11 12:30:07 W/stderr: at java.base/java.lang.Integer.parseInt(Integer.java:662)
2024-02-11 12:30:07 W/stderr: at java.base/java.lang.Integer.parseInt(Integer.java:778)
2024-02-11 12:30:07 W/stderr: at top.mrxiaom.overflow.internal.message.OnebotMessages.deserializeFromOneBotJson$overflow_core(OnebotMessages.kt:259) 2024-02-11 12:30:07 W/stderr: at top.mrxiaom.overflow.internal.message.OnebotMessages.deserializeFromOneBot$overflow_core(OnebotMessages.kt:181)
2024-02-11 12:30:07 W/stderr: at top.mrxiaom.overflow.internal.message.OnebotMessages.deserializeFromOneBot$overflow_core$default(OnebotMessages.kt:179) 2024-02-11 12:30:07 W/stder
问题描述
start.sh脚本启动后显示
错误: 无法初始化主类 net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader
原因: java.lang.NoClassDefFoundError: kotlinx/coroutines/CoroutineScope
按照用户手册方法三安装,依次准备了三个文件 mirai-console-2.16.0-all.jar
mirai-console-terminal-2.16.0-all.jar
overflow-core-all-2.16.0-all.jar
创建 libs
文件夹,将以上内容放入该文件夹。
使用 start.sh
(Linux/MacOS) 如下
java -cp "$CLASSPATH:./libs/*" net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader
overflow版本
overflow版本:overflow-core-all-5194d53
原版的Mirai的聊天信息在终端中应该长这样(使用反向WS也是如此):
2024-02-20 10:00:0 V/Bot.114514: [QQ群(1919810)] 群员(10086) -> 聊天信息
使用正向连接我这儿长这样:
2024-02-20 10:00:0 V/Bot.114514: [QQ群(1919810)] 群员(10086) -> "聊天信息"
Mirai部分插件是按照前缀进行识别判断的,因此多一层冒号之后部分插件就失效了
使用OpenShamrock,开启Onebot标准WebSocket,Shamrock作为Server
,配置ws_host
使用正向WS连接
overflow-core-all-2.16.0-700df26-SNAPSHOT-all.jar
mirai-console-2.16.0-all.jar
mirai-console-terminal-2.16.0-all.jar
OpenShamrock-1.0.8.r296.e68a1ff-xposed
QQ-V 9.0.17.15190
No response
No response
测试过原版Mirai和反向WS模式下的Overflow均无冒号,而正向WS模式下的Overflow会出现冒号,而我的另一个Nonebot机器人使用正向WS连接到OpenShamrock并没有出现类似情况,所以我认为应该不是OpenShamrock的问题
2024-02-22 18:13:47 W/Bot.*: An exception occurred when processing event. Subscriber scope: 'ListenerTasker'. Broadcaster scope: 'Bot.*.EventDispatcher'
top.mrxiaom.overflow.internal.deps.gson.JsonSyntaxException: java.lang.NumberFormatException: Expected an int but was 1708595825859 at line 1 column 62 path $.data.message_id
at top.mrxiaom.overflow.internal.deps.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:251)
at top.mrxiaom.overflow.internal.deps.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:241)
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)
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)
at top.mrxiaom.overflow.internal.deps.gson.Gson.fromJson(Gson.java:1227)
at top.mrxiaom.overflow.internal.deps.gson.Gson.fromJson(Gson.java:1137)
at top.mrxiaom.overflow.internal.deps.gson.Gson.fromJson(Gson.java:1047)
at top.mrxiaom.overflow.internal.deps.gson.Gson.fromJson(Gson.java:1014)
at cn.evole.onebot.sdk.util.json.GsonUtil.fromJson(GsonUtil.java:83)
at cn.evolvefield.onebot.client.core.Bot.sendGroupMsg(Bot.kt:114)
at cn.evolvefield.onebot.client.core.Bot$sendGroupMsg$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.NumberFormatException: Expected an int but was 1708595825859 at line 1 column 62 path $.data.message_id
at top.mrxiaom.overflow.internal.deps.gson.stream.JsonReader.nextInt(JsonReader.java:1186)
at top.mrxiaom.overflow.internal.deps.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:249)
... 23 more
进行解析视频操作就会触发
No response
No response
No response
No response
发送艾特全员消息时,未能艾特全员,只发送了文本内容
使用mirai-api-http 2.9.1
发送艾特全员消息,应正常显示为@全体成员 一条消息
,但是实际只发送了一条消息
这四个字
OpenShamrock 1.0.7-dev.6201d12
mirai-api-http 2.9.1
Mirai console 2.16.0
2023-12-18 21:06:58 D/Onebot: Send to server --> {"action":"send_group_msg","params":{"group_id":**********,"message":[{"type":"text","data":{}},{"type":"text","data":{"text":"一条消息"}}],"auto_escape":false},"echo":295}
No response
No response
Overflow 版本:00fd581
当发送的图片为 Base64 类型时,整个文件的内容会原封不动输出到日志中。如果图片较大,会出现满屏日志的情况。希望可以简化 Base64 类型图片的日志输出信息。
[overflow:image,url=base64:///9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBQYFBAYGBQYHBwYI
... (about 75800 bytes)
0mWj+k/6q01mz4jHUOoxE6fJghCEOU//Z,isEmoji=false]
如题
发送合并转发消息
2.16.0-54118c1-SNAPSHOT
Lagrange.Core 0.0.1-alpha (commit c94c093)
mirai-core 2.16.0
2024-01-27 15:08:55 V/Bot.1******4: [F******成(8******3)] 笙******d(3******8) -> ForwardMessage(preview=[QQ用户: "message", QQ用户: "message", QQ用户: "message", QQ用户: "message"], title=群聊的聊天记录, brief=[聊天记录], source=聊天记录, summary=查看4条转发消息, nodeList=[Node(senderId=0, time=0, senderName=QQ用户, messageChain="message"), Node(senderId=0, time=0, senderName=QQ用户, messageChain="message"), Node(senderId=0, time=0, senderName=QQ用户, messageChain="message"), Node(senderId=0, time=0, senderName=QQ用户, messageChain="message")])
2024-01-27 15:08:55 D/Onebot: Send to server --> {"action":"get_forward_msg","params":{"id":"T7nmr****************************KOmlfTzTXG5PU"},"echo":18}
2024-01-27 15:08:55 D/Onebot: Client received <-- {"status":"ok","retcode":0,"data":{"message":[{"type":"node","data":{"user_id":1******20,"nickname":"","content":[{"type":"text","data":{"text":"Nati*******"}}]}},{"type":"node","data":{"user_id":1******20,"nickname":"","content":[{"type":"text","data":{"text":"gm*******"}}]}},{"type":"node","data":{"user_id":1******20,"nickname":"","content":[{"type":"image","data":{"file":"http://gchat.qpic.cn/offpic_new/1******20/58********6.jpg/0?term=255&is_origin=0"}}]}},{"type":"node","data":{"user_id":1******20,"nickname":"","content":[{"type":"image","data":{"file":"http://gchat.qpic.cn/offpic_new/1******20/8D85********BA6920.jpg/0?term=255&is_origin=0"}}]}}]},"echo":18}
No response
在使用 mirai-http-api
间接调用获取账号信息时出现 [get_user_info, echo=4] API不存在
报错
2.16.0-10537f2
No response
// ...
2024-01-10 00:30:38 D/Onebot: Send to server --> {"action":"get_user_info","params":{"user_id":1233456,"refresh":false},"echo":4}
2024-01-10 00:30:38 D/Onebot: Client received <-- {"data":null,"echo":4,"message":"API不存在","msg":"API_NOT_FOUND","retcode":404,"status":"failed","wording":"API不存在"}
2024-01-10 00:30:38 W/Onebot: Request failed: [get_user_info, echo=4] API不存在
OneBot 提供了 get_stranger_info
这个 API,理论上把这个 API 拿来用就行了?
使用OpenShamrock的反向WebSocket连接Overflow,会出现突然断开且两边均无异常报错的情况,过一会又会自动连上
一开始Overflow可以正常连接OpenShamrock,可以正常收发消息,然后突然就断开了,过一会又突然自己连上了
不知道该怎么复现,但已经遇到三回了,平均一天一回吧
OpenShamrock 1.0.7.r204.34eccda
2023-12-20 18:47:06 W/Onebot: Request failed: [send_group_msg, echo=345] Timed out waiting for 10000 ms
2023-12-20 18:48:12 I/Onebot: ▌ 反向 WebSocket 客户端连接因 The connection was closed because the other endpoint did not respond with a pong in time. For more information check: https://github.com/TooTallNate/Java-WebSocket/wiki/Lost-connection-detection 已关闭
【中间省略了大量由mirai-api-http主动发出的消息,虽然`logs`里的日志有这些发送记录,但是`logs/onebot`下的日志并没有这些发送记录,OpenShamrock端也并没有收到】
2023-12-20 20:17:58 I/Onebot: ▌ 反向 WebSocket 客户端 /********:**** 已连接 ┈━═☆
No response
附上OpenShamrock端的日志
【中间省略了一些OpenShamrock自身接收到的QQ消息,非Overflow发送过去的】
如题
以下网络日志已手动脱敏
发送一条合并转发消息
2.16.0-eb376cc-SNAPSHOT
Lagrange.Core 0.0.1-alpha (commit c94c093)
mirai-core 2.16.0
2024-01-27 10:29:26 W/stderr: Exception in thread "DefaultDispatcher-worker-8" java.lang.NullPointerException
2024-01-27 10:29:26 W/stderr: at cn.evole.onebot.sdk.util.json.ForwardMsgAdapter.deserialize(ForwardMsgAdapter.java:17)
2024-01-27 10:29:26 W/stderr: at cn.evole.onebot.sdk.util.json.ForwardMsgAdapter.deserialize(ForwardMsgAdapter.java:11)
2024-01-27 10:29:26 W/stderr: at top.mrxiaom.overflow.internal.deps.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:76)
2024-01-27 10:29:26 W/stderr: at top.mrxiaom.overflow.internal.deps.gson.internal.bind.ReflectiveTypeAdapterFactory$1.readIntoField(ReflectiveTypeAdapterFactory.java:212)
2024-01-27 10:29:26 W/stderr: at top.mrxiaom.overflow.internal.deps.gson.internal.bind.ReflectiveTypeAdapterFactory$FieldReflectionAdapter.readField(ReflectiveTypeAdapterFactory.java:433)
2024-01-27 10:29:26 W/stderr: at top.mrxiaom.overflow.internal.deps.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:393)
2024-01-27 10:29:26 W/stderr: at top.mrxiaom.overflow.internal.deps.gson.Gson.fromJson(Gson.java:1227)
2024-01-27 10:29:26 W/stderr: at top.mrxiaom.overflow.internal.deps.gson.Gson.fromJson(Gson.java:1137)
2024-01-27 10:29:26 W/stderr: at top.mrxiaom.overflow.internal.deps.gson.Gson.fromJson(Gson.java:1047)
2024-01-27 10:29:26 W/stderr: at top.mrxiaom.overflow.internal.deps.gson.Gson.fromJson(Gson.java:1014)
2024-01-27 10:29:26 W/stderr: at cn.evole.onebot.sdk.util.json.GsonUtil.fromJson(GsonUtil.java:83)
2024-01-27 10:29:26 W/stderr: at cn.evolvefield.onebot.client.core.Bot.getForwardMsg(Bot.kt:1122)
2024-01-27 10:29:26 W/stderr: at cn.evolvefield.onebot.client.core.Bot$getForwardMsg$1.invokeSuspend(Bot.kt)
2024-01-27 10:29:26 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2024-01-27 10:29:26 W/stderr: at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33)
2024-01-27 10:29:26 W/stderr: at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
2024-01-27 10:29:26 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
2024-01-27 10:29:26 W/stderr: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2024-01-27 10:29:26 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
2024-01-27 10:29:26 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
2024-01-27 10:29:26 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
2024-01-27 10:29:26 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
2024-01-27 10:29:26 W/stderr: Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [CoroutineName(overflow), StandaoneCoroutine{Cancelling}@90a7c14, Dispatchers.Default]
2024-01-27 10:29:25 D/Onebot: Send to server --> {"action":"get_forward_msg","params":{"id":"JVlHmW********SriI+h"},"echo":8}
2024-01-27 10:29:26 D/Onebot: Client received <-- {"status":"ok","retcode":0,"data":{"message":[{"type":"node","data":{"user_id":132*****44,"nickname":"","content":[{"type":"text","data":{"text":"[GitHub WebHook]\n| New Commit to repo BakaBotTeam/lgz-bot\n| Author: Guimc ([email protected])\n| Branch: refs/heads/master\n| ++0 --0 **1\n| Commit Message: support image send for ACGCommand by using OverflowAPI\n| Details: https://github.com/BakaBotTeam/lgz-bot/commit/f01bfc148a19c4c6956c10610499b99fcacfe962"}}]}},{"type":"node","data":{"user_id":132*****44,"nickname":"","content":[{"type":"text","data":{"text":"[GitHub WebHook]\n| New Commit to repo BakaBotTeam/lgz-bot\n| Author: Guimc ([email protected])\n| Branch: refs/heads/master\n| ++0 --0 **1\n| Commit Message: add license\n| Details: https://github.com/BakaBotTeam/lgz-bot/commit/22b1412224a6b427442432d4225cada8b2da276a"}}]}}]},"echo":8}
No response
看起来似乎内容未被解码。
使用的Overflow版本是 https://github.com/MrXiaoM/Overflow/actions/runs/7077287964
使用Overflow和Lagrange,语音消息无法发出
使用overflow-2.16.0-88426f1与Lagrange
发送语音消息以及包含表情的消息无法收到,overflow日志中会显示,但是lagrange日志报错
Lagrange-46fc168
2024-03-06 22:11:02 W/Onebot: Request failed: [send_group_msg, echo=649] , retCode=200
2024-03-06 22:11:02 V/Bot.2411510662: Group(887911271) <- [overflow:audio,file=base64:////lgYAFgAADMAAf/+WBgMyAAAQ4UrjRY... (about 142.18 KB)]
2024-03-06 22:11:02 W/Onebot: Request failed: [send_group_msg, echo=650] , retCode=200
2024-03-06 22:11:02 V/Bot.2411510662: Group(887911271) <- 葡萄油(倒霉一姐の粉):辛苦了宝宝
【你的宝宝熊紫轶💓@熊紫轶(熊紫轶)】
辛苦你啦![回头]
2024-03-06 22:11:02 D/Onebot: Client received <-- {"status":"failed","retcode":200,"data":null,"echo":649}
2024-03-06 22:11:02 W/Onebot: Request failed: [send_group_msg, echo=649] , retCode=200
2024-03-06 22:11:02 V/Onebot: Stacktrace:
cn.evolvefield.onebot.client.util.ActionFailedException: , retCode=200
at cn.evolvefield.onebot.client.util.ActionSendUtils.send(ActionSendUtils.kt:47)
at cn.evolvefield.onebot.client.util.ActionSendUtils$send$1.invokeSuspend(ActionSendUtils.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.DispatchedTaskKt.resume(DispatchedTask.kt:178)
at kotlinx.coroutines.DispatchedTaskKt.dispatch(DispatchedTask.kt:166)
at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(CancellableContinuationImpl.kt:397)
at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl(CancellableContinuationImpl.kt:431)
at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl$default(CancellableContinuationImpl.kt:420)
at kotlinx.coroutines.CancellableContinuationImpl.resumeWith(CancellableContinuationImpl.kt:328)
at kotlinx.coroutines.ResumeAwaitOnCompletion.invoke(JobSupport.kt:1413)
at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:318)
at kotlinx.coroutines.JobSupport.tryFinalizeSimpleState(JobSupport.kt:295)
at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:856)
at kotlinx.coroutines.JobSupport.makeCompleting$kotlinx_coroutines_core(JobSupport.kt:806)
at kotlinx.coroutines.CompletableDeferredImpl.complete(CompletableDeferred.kt:92)
at cn.evolvefield.onebot.client.util.ActionSendUtils.onCallback(ActionSendUtils.kt:58)
at cn.evolvefield.onebot.client.handler.ActionHandler.onReceiveActionResp(ActionHandler.kt:38)
at cn.evolvefield.onebot.client.connection.IAdapter$DefaultImpls.onReceiveMessage(IAdapter.kt:26)
at cn.evolvefield.onebot.client.connection.WSClient.onReceiveMessage(WSClient.kt:18)
at cn.evolvefield.onebot.client.connection.WSClient.onMessage(WSClient.kt:43)
at top.mrxiaom.overflow.internal.deps.websocket.client.WebSocketClient.onWebsocketMessage(WebSocketClient.java:636)
at top.mrxiaom.overflow.internal.deps.websocket.drafts.Draft_6455.processFrameText(Draft_6455.java:986)
at top.mrxiaom.overflow.internal.deps.websocket.drafts.Draft_6455.processFrame(Draft_6455.java:910)
at top.mrxiaom.overflow.internal.deps.websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:402)
at top.mrxiaom.overflow.internal.deps.websocket.WebSocketImpl.decode(WebSocketImpl.java:234)
at top.mrxiaom.overflow.internal.deps.websocket.client.WebSocketClient.run(WebSocketClient.java:516)
at java.base/java.lang.Thread.run(Thread.java:833)
2024-03-06 22:11:02 D/Onebot: Send to server --> {"action":"send_group_msg","params":{"group_id":887911271,"message":[{"type":"text","data":{"text":"葡萄油(倒霉一姐の粉):"}},{"type":"text","data":{"text":"辛苦了宝宝"}},{"type":"text","data":{"text":"\n【你的宝宝熊紫轶💓@熊紫轶(熊紫轶)】\n"}},{"type":"text","data":{"text":"辛苦你啦!"}},{"type":"face","data":{"id":127}},{"type":"text","data":{"text":""}}],"auto_escape":false},"echo":650}
2024-03-06 22:11:02 D/Onebot: Client received <-- {"status":"failed","retcode":200,"data":null,"echo":650}
2024-03-06 22:11:02 W/Onebot: Request failed: [send_group_msg, echo=650] , retCode=200
2024-03-06 22:11:02 V/Onebot: Stacktrace:
cn.evolvefield.onebot.client.util.ActionFailedException: , retCode=200
at cn.evolvefield.onebot.client.util.ActionSendUtils.send(ActionSendUtils.kt:47)
at cn.evolvefield.onebot.client.util.ActionSendUtils$send$1.invokeSuspend(ActionSendUtils.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.DispatchedTaskKt.resume(DispatchedTask.kt:178)
at kotlinx.coroutines.DispatchedTaskKt.dispatch(DispatchedTask.kt:166)
at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(CancellableContinuationImpl.kt:397)
at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl(CancellableContinuationImpl.kt:431)
at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl$default(CancellableContinuationImpl.kt:420)
at kotlinx.coroutines.CancellableContinuationImpl.resumeWith(CancellableContinuationImpl.kt:328)
at kotlinx.coroutines.ResumeAwaitOnCompletion.invoke(JobSupport.kt:1413)
at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:318)
at kotlinx.coroutines.JobSupport.tryFinalizeSimpleState(JobSupport.kt:295)
at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:856)
at kotlinx.coroutines.JobSupport.makeCompleting$kotlinx_coroutines_core(JobSupport.kt:806)
at kotlinx.coroutines.CompletableDeferredImpl.complete(CompletableDeferred.kt:92)
at cn.evolvefield.onebot.client.util.ActionSendUtils.onCallback(ActionSendUtils.kt:58)
at cn.evolvefield.onebot.client.handler.ActionHandler.onReceiveActionResp(ActionHandler.kt:38)
at cn.evolvefield.onebot.client.connection.IAdapter$DefaultImpls.onReceiveMessage(IAdapter.kt:26)
at cn.evolvefield.onebot.client.connection.WSClient.onReceiveMessage(WSClient.kt:18)
at cn.evolvefield.onebot.client.connection.WSClient.onMessage(WSClient.kt:43)
at top.mrxiaom.overflow.internal.deps.websocket.client.WebSocketClient.onWebsocketMessage(WebSocketClient.java:636)
at top.mrxiaom.overflow.internal.deps.websocket.drafts.Draft_6455.processFrameText(Draft_6455.java:986)
at top.mrxiaom.overflow.internal.deps.websocket.drafts.Draft_6455.processFrame(Draft_6455.java:910)
at top.mrxiaom.overflow.internal.deps.websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:402)
at top.mrxiaom.overflow.internal.deps.websocket.WebSocketImpl.decode(WebSocketImpl.java:234)
at top.mrxiaom.overflow.internal.deps.websocket.client.WebSocketClient.run(WebSocketClient.java:516)
at java.base/java.lang.Thread.run(Thread.java:833)
No response
在2023-12-31
这一天,logs
下产生了一个名为2024-12-31.log
的日志文件
emmmm把电脑日期调到2023-12-31
?
No response
No response
No response
No response
如题
在群聊中回复一条消息
Overflow v2.16.0-32355df-SNAPSHOT
onebot实现为 Lagrange.OneBot
https://github.com/LagrangeDev/Lagrange.Core
No response
No response
在群里发送了一条消息,bot本应接收到该消息并作出响应(通过mirai-api-http连接)
刚启动的时候是可以正确响应的,但是过了一段时间后发现bot并没有做出响应,疑似是没有正确接收到消息
在logs/onebot
文件夹下有接收到该消息的日志
2023-12-06 19:06:55 D/Onebot: Client received <-- {"time":1701860814,"self_id":,"post_type":"message","message_type":"group","sub_type":"normal","message_id":,"group_id":,"peer_id":,"user_id":,"message":[{"data":{"text":"查询"},"type":"text"}],"raw_message":"查询","font":0,"sender":{"user_id":,"nickname":"","card":"","role":"owner","title":"","level":""}}
但是在logs
文件夹下没有任何接收到该消息的日志,最后一条日志是
2023-12-06 14:59:41 I/Onebot: ▌ 反向 WebSocket 客户端 /host:port 已连接 ┈━═☆
在bots/[QQ]/log
目录下也没有接收到该消息的日志,最后一条日志是上一次接收到消息的日志(也就是说,之前是可以正常接收到消息的,但是后来不行了)
mirai-api-http:2.9.1
Overflow版本:3fefc93c3fb994480cec78ca524d8579c500821a
发送合并转发消息 显示 该消息暂不支持查看
发送合并转发消息
v2.16.0-2cf7991-SNAPSHOT
Lagrange.OneBot v0.0.3
No response
2024-03-23 14:16:09 D/Onebot: Send to server --> {"action":"send_forward_msg","params":{"messages":[{"type":"node","data":{"name":"洛***********a","uin":"1*********4","content":[{"type":"text","data":{"text":"Hypixel 玩家数据:\n玩家名: [VIP+]ShabbyGuimc\n等级: 15.51\nKarma: 34855\n玩家使用语言: CHINESE_SIMPLIFIED\n首次登入: 2022-03-17T09:46:42.224\n上次登入: 无法获取\n上次登出: 无法获取\n最近常玩: Null当前状态: 离线"}}]},"time":1711174568},{"type":"node","data":{"name":"洛***********a","uin":"1*********4","content":[{"type":"text","data":{"text":"Bedwars 信息:\n等级: 2.06\n硬币: 5240\n毁床数: 2\n总游戏数: 8\n胜利/失败: 1/7 WLR: 0.14\n击杀/死亡: 29/11 KDR: 2.64\n最终击杀数: 7"}}]},"time":1711174569},{"type":"node","data":{"name":"洛***********a","uin":"1*********4","content":[{"type":"text","data":{"text":"Skywars 信息:\n等级: 1.0\n硬币: 216229\n灵魂数量: 17\n总游戏数: 492\n胜利/失败: 28/463 WLR: 0.06\n击杀/助攻/死亡: 374/33/463 KDR: 0.81\n\n共计:\n共有 18 个 Heads, 放置了 5870 个方块, 打开了 1009 个箱子"}}]},"time":1711174570},{"type":"node","data":{"name":"洛***********a","uin":"1*********4","content":[{"type":"text","data":{"text":"Duels 信息:\n硬币: 28576\n总游戏数: 340\n胜利/失败: 145/195 WLR: 0.74\n击杀/死亡: 139/191 KDR: 0.73\n近战命中: 0.35\n弓箭命中: 0.28\n\n共计:\n造成了 5515 伤害, 恢复了 794 血量"}}]},"time":1711174571},{"type":"node","data":{"name":"洛***********a","uin":"1*********4","content":[{"type":"text","data":{"text":"Mega Walls 信息:\n硬币: 285\n胜利/失败: 0/0 WLR: 0.0\n击杀/助攻/死亡: 0/0/0 KDR: 0.0\nFinal Kill/Death: 0/0\n\n共计:\n造成了 0 伤害, 共有 5 个 Packages"}}]},"time":1711174572},{"type":"node","data":{"name":"洛***********a","uin":"1*********4","content":[{"type":"text","data":{"text":"街机游戏 信息:\n硬币: 148622\n\n以下为街机游戏:"}}]},"time":1711174573},{"type":"node","data":{"name":"洛***********a","uin":"1*********4","content":[{"type":"text","data":{"text":"Mini Walls:\n胜利: 0\n击杀/死亡: 0/0 KDR: 0.0\n最终击杀: 0\n凋零击杀数: 0\n弓箭命中率: 0.0"}}]},"time":1711174574},{"type":"node","data":{"name":"洛***********a","uin":"1*********4","content":[{"type":"text","data":{"text":"派对游戏 胜场: 0"}}]},"time":1711174575},{"type":"node","data":{"name":"洛***********a","uin":"1*********4","content":[{"type":"text","data":{"text":"僵尸末日: \n最高坚持了 30 轮\n死亡次数: 29\n命中头部率: 0.3\n打开门数量: 32\n救起其他玩家次数: 24"}}]},"time":1711174576},{"type":"node","data":{"name":"洛***********a","uin":"1*********4","content":[{"type":"text","data":{"text":"以上为街机游戏"}}]},"time":1711174577},{"type":"node","data":{"name":"洛***********a","uin":"1*********4","content":[{"type":"text","data":{"text":"Skyblock信息: https://sky.shiiyu.moe/stats/ShabbyGuimc"}}]},"time":1711174578},{"type":"node","data":{"name":"洛***********a","uin":"1*********4","content":[{"type":"text","data":{"text":"本数据仅供参考"}}]},"time":1711174579}]},"echo":21}
2024-03-23 14:16:09 D/Onebot: Client received <-- {"status":"ok","retcode":0,"data":"FnrMFxYcgHyVXUn0Qh6pe7oMkjdOadmGsRNPsWyFoQz0NSMYWYIPALOcY43rCK5a","echo":21}
2024-03-23 14:16:09 D/Onebot: Send to server --> {"action":"send_group_msg","params":{"group_id":3********3,"message":[],"auto_escape":false},"echo":22}
2024-03-23 14:16:10 D/Onebot: Client received <-- {"status":"ok","retcode":0,"data":{"message_id":1400979366},"echo":22}
No response
被动 WebSocket 时 bot 貌似无法接收来自聊天中的指令。试过两个基于 MiraiConsole 的插件都不行,对来自 QQ 信息发出的指令完全无响应,而基于 MCL 的 mirai 是可用的。所以推测可能是 Overflow 的问题,不知到主动 WebSocket 是否也有此问题。
最开始的测试插件为 JNR 和 BilibiliDynamic MiraiPlugin。
客户端服务端通讯一切正常,服务端可以使用 /overflow friend
命令发送消息,也能接收到客户端发来的私聊指令消息,但是不会对指令做出任何反应。
最后尝试了一下直接用 /permission add <QQ 号> *
命令赋予用户全部指令权限,用户打出 /help
仍无反应。
在 Windows Server 2019 (17763.1339) 使用 mumu 模拟器 v3.7.10,QQ v8.9.80.12440,Kitsune Magisk R65C33E4F,LSPosed-v1.9.2-7024-zygisk-release,Shamrock-v1.0.8.r317.63ce2d4-all 搭建客户端;在 Ubuntu 20.04.6 LTS 使用 overflow-2.16.0-795845b-SNAPSHOT 整合包搭建服务端。
没有任何相关报错,推测 overflow 没有正确将消息传递给 mirai?
No response
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.