大佬你好 小白想问问能不能单独管理群聊?比如我想要A群拥有这个GPT的权限,B群不想给予GPT的权限
这个小暗不太冷 发布的最新帖子
-
RE: ChatLearning——让bot学会你的群聊
@Anstiya 实在不好意思 犯了这样的低级错误!非常感谢大佬手把手支援!萌新还有一个小疑问,,不知道大佬有没有遇到过机器人在命令提示框内有正常回复消息,但是群聊/私聊 发不出响应的消息出来
-
RE: ChatLearning——让bot学会你的群聊
@Anstiya 根据您的指示,正常运行了 但是还是出现了一开始的链接不上http的问题。我有试着尝试重新下载GitHub上的这个插件项目并重新编写了data.json文件,,,
-
RE: ChatLearning——让bot学会你的群聊
@Anstiya 不好意思 我从mirai-api-http-2.10.0切换到了mirai-api-http 2.9.1,下载setting.yml之后进行启动mcl就产生了报错
2024-03-08 13:21:09 I/fix-protocol-version: protocol commands: info, load, fetch
example:
protocol info
protocol load ANDROID_PHONE
protocol fetch ANDROID_PAD 8.9.632024-03-08 13:21:09 I/fix-protocol-version: 当前各登录协议版本日期:
ANDROID_PHONE 8.9.58.11170 2023-05-19T12:35+09:00
ANDROID_PAD 8.9.58.11170 2023-05-19T12:35+09:00
ANDROID_WATCH 2.0.8 2019-06-03T21:25:31+09:00
IPAD 8.9.50.611 2023-02-16T16:10:14+09:00
MACOS 6.8.2.21241 2022-03-14T12:11:35+09:002024-03-08 13:21:09 I/fix-protocol-version: 当前签名服务配置信息:
v8.9.58 by kiliokuara/magic-signer-guide from http://127.0.0.1:88882024-03-08 13:21:09 E/mirai-api-http: net.mamoe.yamlkt.YamlDecodingException: There must be a COLON between class key and value but found null for 'setting'
...ketAdapter(Experimental) 没法正常工作.
^ at line 20, column 75net.mamoe.yamlkt.YamlDecodingException: There must be a COLON between class key and value but found null for 'setting'
...ketAdapter(Experimental) 没法正常工作.
^ at line 20, column 75at net.mamoe.yamlkt.internal.YamlUtils__ContextualExceptionKt.contextualDecodingException(ContextualException.kt:154) at net.mamoe.yamlkt.internal.YamlUtils.contextualDecodingException(Unknown Source) at net.mamoe.yamlkt.internal.YamlUtils__ContextualExceptionKt.contextualDecodingException$default(ContextualException.kt:128) at net.mamoe.yamlkt.internal.YamlUtils.contextualDecodingException$default(Unknown Source) at net.mamoe.yamlkt.internal.YamlDecoder$BlockClassDecoder.decodeElementIndex(YamlDecoder.kt:294) at net.mamoe.mirai.console.internal.data.PluginDataImpl$updaterSerializer$1.deserialize(PluginDataImpl.kt:78) at net.mamoe.mirai.console.internal.data.PluginDataImpl$updaterSerializer$1.deserialize(PluginDataImpl.kt:51) at net.mamoe.yamlkt.Yaml.decodeFromString(Yaml.kt:162) at net.mamoe.mirai.console.internal.data.MultiFilePluginDataStorageImpl.load(MultiFilePluginDataStorageImpl.kt:49) at net.mamoe.mirai.console.plugin.jvm.AbstractJvmPlugin.reloadPluginConfig(AbstractJvmPlugin.kt:77) at mirai-api-http-2.9.1.mirai2.jar//net.mamoe.mirai.api.http.HttpApiPluginBase.onEnable(HttpApiPluginBase.kt:29) 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) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.itxtech.mcl.Utility.bootJars(Utility.java:86) at org.itxtech.mcl.Utility.bootJars(Utility.java:76) at org.itxtech.mcl.Utility.bootMirai(Utility.java:98) at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:113) at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:123) at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:196) at org.itxtech.mcl.Loader.tryCatching(Loader.java:151) at org.itxtech.mcl.Loader.start(Loader.java:196) at org.itxtech.mcl.Loader.main(Loader.java:84)
-
RE: ChatLearning——让bot学会你的群聊
@Anstiya 我按照您的吩咐把host改成了localhost或者是127.0.0.1,其他文件没动 还是会出现无法连接呢!
-
RE: ChatLearning——让bot学会你的群聊
您好 我想我的配置按理说应该没有出错,我也看到评论区其他人跟我出现同样的问题 我目前已知的方法都尝试了一遍 更换0.0.0.0,127.0.0.1,localhost等等 但还是无法连接 可以帮我一下吗!
-
RE: 学习群友聊天的机器人XiaoFeimian
Welcome to use DaFeimian python exe -- XiaoFeimian Chat Learning
欢迎使用大肥免python程序——小肥免聊天学习
Tips: Idk if Chinese can run the display smoothly, so some content uses English prompts.
我不知道中文能不能顺利运行显示,所以一些内容使用的是英文提示,肥免懒得设置编码
Config file loading completed. Version is 1.0.3
Starting config file simple verification. Maybe have other error what can not test.
Starting Completed
Start connect httpkey:
host: localhost
port: 23750
qq: 3567749021
session:<Response [200]>
Http is connected.
Wait 10 seconds to start the command.
Loading command list.
XiaoFeimian Command:Robot has 1 messages not read.
9999 0
Not learning msg.
Robot has 1 messages not read.
Not learning msg.
Robot has 1 messages not read.
9999 0
Not learning msg.
Robot has 1 messages not read.
Not learning msg.
Robot has 1 messages not read.
Not learning msg.
Robot has 1 messages not read.
Not learning msg.
Robot has 1 messages not read.
9999 0
Not learning msg.
Robot has 1 messages not read.
9999 0
Not learning msg.
Robot has 1 messages not read.
9999 0
Not learning msg.
Robot has 1 messages not read.
Not learning msg.
Robot has 1 messages not read.
Not learning msg.
Robot has 1 messages not read.
Not learning msg.
Robot has 1 messages not read.
9999 0
Not learning msg.您好 我似乎是成功运行了 但是我在.exe程序根目录下并没有生成config的配置文件 请问该如何解决呢?
-
RE: MarryPlugin 娶群友插件
2024-03-06 13:28:34 V/Bot.3515498262: [无名(565347972)] Yami(1365379848) -> 订婚[mirai:at:3515498262]
2024-03-06 13:28:34 E/Bot.3515498262: java.lang.IllegalStateException: Exception while broadcasting event 'GroupMessageEvent'
java.lang.IllegalStateException: Exception while broadcasting event 'GroupMessageEvent'
at net.mamoe.mirai.internal.network.components.EventDispatcherImpl.broadcast$suspendImpl(EventDispatcher.kt:104)
at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcast$1.invokeSuspend(EventDispatcher.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:233)
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:104)
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: 未找到异常处理器. 请继承 SimpleListenerHost 中的 handleException 方法, 或在 构造 SimpleListenerHost 时提供 CoroutineExceptionHandlerCannot find exception handler from coroutineContext.
Please extend SimpleListenerHost.handleException or provide a CoroutineExceptionHandler to the constructor of SimpleListenerHost
at net.mamoe.mirai.event.SimpleListenerHost.handleException(JvmMethodListeners.kt:192)
at Cat-0.1.0.mirai2.jar//com.hn.cat.listener.CatEventHandler.handleException(CatEventHandler.java:21)
at net.mamoe.mirai.event.SimpleListenerHost$special$$inlined$CoroutineExceptionHandler$1.handleException(CoroutineExceptionHandler.kt:111)
at net.mamoe.mirai.internal.event.SafeListener.onEvent(SafeListener.kt:75)
at net.mamoe.mirai.internal.event.SafeListener$onEvent$1.invokeSuspend(SafeListener.kt)
... 9 more
Caused by: net.mamoe.mirai.event.ExceptionInEventHandlerException: Exception in EventHandler
at net.mamoe.mirai.internal.event.JvmMethodListenersInternal.registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:155)
at net.mamoe.mirai.internal.event.JvmMethodListenersInternal.access$registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:26)
at net.mamoe.mirai.internal.event.JvmMethodListenersInternal$registerEventHandler$callMethod$2.invokeSuspend(JvmMethodListenersInternal.kt:162)
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:42)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
... 4 more
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at net.mamoe.mirai.internal.event.JvmMethodListenersInternal.registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:148)
... 10 more
Caused by: java.lang.NullPointerException: Cannot invoke "java.util.List.contains(Object)" because "groups" is null
at Cat-0.1.0.mirai2.jar//com.hn.cat.listener.CatEventHandler.onMessage(CatEventHandler.java:33)
... 15 more你好我是纯小白,刚搭建好mirai登录上QQ 载入这个软件之后获取到随便一个消息就报错了 可以帮我一下吗