请问,机器人在2个都在配置文件设置成群和好友不自动同意申请,需要等待号主同意的情况下,为什么还能被直接拉入47人的群?
而且我qq没有接收到机器人应该给我私聊发的加群验证是否同意
10人一下的也是
插件版本1.2.5
console版本2.12.0
Ours 发布的帖子
-
RE: Mirai Administrator 机器人管理插件,好友/群管理,黑名单,宵禁
-
RE: Meme Helper 表情包生成器,游戏王,幻影坦克,支持Termux
@cssxsh 已经给系统安装了字体了,目前正常了
(应该得在帖子里面说明下?)
(如果中文出现口就安装字体)
http://t.csdn.cn/hQ0kU
这个讲挺详细的 -
RE: Meme Helper 表情包生成器,游戏王,幻影坦克,支持Termux
话说为什么我这边#choyen 我想吃 肯德基疯狂星期四套餐
结果是口口口口口口口口口
显示不了中文,#ph也是的MiraiConsole v2.11.0
Plugins: Chat Command v0.5.0, net.mamoe.mirai-api-http v2.5.0, mirai-skia-plugin v1.1.1, mirai-administrator v1.2.2, io.github.Kloping.mirai.p1.CallApiPlugin v2.0, Custom Reply v0.5.2, meme-helper v1.0.3, MCL Addon v2.0.2
linux的系统
mcl2.1.0 -
RE: 自定义调用API插件
@Kloping 1主要是key是私人的,不给分享,怕给封了
反正他这个报错很随机,我估计是cloudflare的cdn问题?
因为我服务器ping出来是cloudflare的ip
然后报错几分钟后就恢复,有时候好几分钟才恢复
但我看其他bot使用这个api并没有这个问题,我不知道怎么解决
如果需要的话我可以私聊发api和api查询格式 -
RE: 自定义调用API插件
使用时报错
2022-06-04 12:40:37 W/stderr: java.net.ConnectException: Connection refused (Connection refused)
2022-06-04 12:40:37 W/stderr: at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
2022-06-04 12:40:37 W/stderr: at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
2022-06-04 12:40:37 W/stderr: at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
2022-06-04 12:40:37 W/stderr: at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
2022-06-04 12:40:37 W/stderr: at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
2022-06-04 12:40:37 W/stderr: at java.base/java.net.Socket.connect(Unknown Source)
2022-06-04 12:40:37 W/stderr: at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
2022-06-04 12:40:37 W/stderr: at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
2022-06-04 12:40:37 W/stderr: at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
2022-06-04 12:40:37 W/stderr: at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
2022-06-04 12:40:37 W/stderr: at java.base/sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
2022-06-04 12:40:37 W/stderr: at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
2022-06-04 12:40:37 W/stderr: at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
2022-06-04 12:40:37 W/stderr: at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
2022-06-04 12:40:37 W/stderr: at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
2022-06-04 12:40:37 W/stderr: at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
2022-06-04 12:40:37 W/stderr: at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
2022-06-04 12:40:37 W/stderr: at MiraiCallApiPlugin-v1.4.jar//org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:859)
2022-06-04 12:40:37 W/stderr: at MiraiCallApiPlugin-v1.4.jar//org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:829)
2022-06-04 12:40:37 W/stderr: at MiraiCallApiPlugin-v1.4.jar//org.jsoup.helper.HttpConnection.execute(HttpConnection.java:366)
2022-06-04 12:40:37 W/stderr: at MiraiCallApiPlugin-v1.4.jar//org.jsoup.helper.HttpConnection.get(HttpConnection.java:353)
2022-06-04 12:40:37 W/stderr: at MiraiCallApiPlugin-v1.4.jar//io.github.Kloping.mirai.p1.Worker.doc(Worker.java:170)
2022-06-04 12:40:37 W/stderr: at MiraiCallApiPlugin-v1.4.jar//io.github.Kloping.mirai.p1.Worker.call(Worker.java:92)
2022-06-04 12:40:37 W/stderr: at MiraiCallApiPlugin-v1.4.jar//io.github.Kloping.mirai.p1.CallApiPlugin$1.onMessage0(CallApiPlugin.java:61)
2022-06-04 12:40:37 W/stderr: at MiraiCallApiPlugin-v1.4.jar//io.github.Kloping.mirai.p1.CallApiPlugin$1.onMessage(CallApiPlugin.java:71)
2022-06-04 12:40:37 W/stderr: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2022-06-04 12:40:37 W/stderr: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2022-06-04 12:40:37 W/stderr: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2022-06-04 12:40:37 W/stderr: at java.base/java.lang.reflect.Method.invoke(Unknown Source)
2022-06-04 12:40:37 W/stderr: at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:140)
2022-06-04 12:40:37 W/stderr: at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.access$registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:1)
2022-06-04 12:40:37 W/stderr: at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$callMethod$2.invokeSuspend(JvmMethodListenersInternal.kt:154)
2022-06-04 12:40:37 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2022-06-04 12:40:37 W/stderr: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2022-06-04 12:40:37 W/stderr: at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
2022-06-04 12:40:37 W/stderr: at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
2022-06-04 12:40:37 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
2022-06-04 12:40:37 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
2022-06-04 12:40:37 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
2022-06-04 12:40:37 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
能看看是出什么问题了吗?
api用的是api.antisniper.net/findnick
一直会报错,看样子是用了cloudflare
难不成是这个问题吗?
如果是的话插件添加一个代理功能会好点(?) -
RE: 自定义调用API插件
并且我在使用时会时不时报错
如下
2022-05-30 18:47:10 W/stderr: java.net.ConnectException: Connection refused (Connection refused)
2022-05-30 18:47:10 W/stderr: at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
2022-05-30 18:47:10 W/stderr: at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
2022-05-30 18:47:10 W/stderr: at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
2022-05-30 18:47:10 W/stderr: at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
2022-05-30 18:47:10 W/stderr: at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
2022-05-30 18:47:10 W/stderr: at java.base/java.net.Socket.connect(Unknown Source)
2022-05-30 18:47:10 W/stderr: at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
2022-05-30 18:47:10 W/stderr: at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
2022-05-30 18:47:10 W/stderr: at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
2022-05-30 18:47:10 W/stderr: at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
2022-05-30 18:47:10 W/stderr: at java.base/sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
2022-05-30 18:47:10 W/stderr: at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
2022-05-30 18:47:10 W/stderr: at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
2022-05-30 18:47:10 W/stderr: at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
2022-05-30 18:47:10 W/stderr: at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
2022-05-30 18:47:10 W/stderr: at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
2022-05-30 18:47:10 W/stderr: at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
2022-05-30 18:47:10 W/stderr: at MiraiCallApiPlugin-v1.3.jar//org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:859)
2022-05-30 18:47:10 W/stderr: at MiraiCallApiPlugin-v1.3.jar//org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:829)
2022-05-30 18:47:10 W/stderr: at MiraiCallApiPlugin-v1.3.jar//org.jsoup.helper.HttpConnection.execute(HttpConnection.java:366)
2022-05-30 18:47:10 W/stderr: at MiraiCallApiPlugin-v1.3.jar//org.jsoup.helper.HttpConnection.get(HttpConnection.java:353)
2022-05-30 18:47:10 W/stderr: at MiraiCallApiPlugin-v1.3.jar//io.github.Kloping.mirai.p1.Worker.doc(Worker.java:157)
2022-05-30 18:47:10 W/stderr: at MiraiCallApiPlugin-v1.3.jar//io.github.Kloping.mirai.p1.Worker.call(Worker.java:83)
2022-05-30 18:47:10 W/stderr: at MiraiCallApiPlugin-v1.3.jar//io.github.Kloping.mirai.p1.CallApiPlugin$1.onMessage0(CallApiPlugin.java:61)
2022-05-30 18:47:10 W/stderr: at MiraiCallApiPlugin-v1.3.jar//io.github.Kloping.mirai.p1.CallApiPlugin$1.onMessage(CallApiPlugin.java:51)
2022-05-30 18:47:10 W/stderr: at jdk.internal.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
2022-05-30 18:47:10 W/stderr: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2022-05-30 18:47:10 W/stderr: at java.base/java.lang.reflect.Method.invoke(Unknown Source)
2022-05-30 18:47:10 W/stderr: at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:140)
2022-05-30 18:47:10 W/stderr: at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.access$registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:1)
2022-05-30 18:47:10 W/stderr: at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$callMethod$2.invokeSuspend(JvmMethodListenersInternal.kt:154)
2022-05-30 18:47:10 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2022-05-30 18:47:10 W/stderr: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2022-05-30 18:47:10 W/stderr: at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
2022-05-30 18:47:10 W/stderr: at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
2022-05-30 18:47:10 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
2022-05-30 18:47:10 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
2022-05-30 18:47:10 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
2022-05-30 18:47:10 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)能看看是怎么回事吗?
如果触发次报错就不会在群内返回结果
等个几分钟又好了
再使用几次又报错用不了
如此循环 -
RE: 自定义调用API插件
能增加一个功能吗?我觉得很实用,比如你使用了指令但查错了他会直接返回$1 $2类似这样
所以能增加查询失败反馈失败吗?
我说的可能不是很清楚,大概意思是参考插件内的模板
未来天气 城市
如果填对了城市直接返回结果如果不填城市也返回结果但全是$1 $2如下,并且填错城市他查不出来也返回如下
所以能增加一个模块比如查询失败反馈自定义失败回复
或者不自定义也行,单纯回复查询失败,指令错误,或者查询对象有误
如果只使用未来天气 不填城市也会回复$1 $1 能添加模块回复无查询对象,请填写对象?
可能添加此类功能比较麻烦但还是希望添加一下,我觉得对于目前版本是一个很不错的想法 -
RE: 【涩图插件喜加一】mirai-console-lolicon
可能是我的问题?
如果是的话怎么退回版本到console
version 2.0-RC
16:09:57 [WARN] Package "net.mamoe:chat-command" requires "net.mamoe:mirai-console" version 2.0-RC. Current version is 2.11.0