Mirai Administrator 机器人管理插件,好友/群管理,黑名单,宵禁
-
@haha
已更新,你可以尝试安装最新版 -
@cssxsh
报的还是相同的错误2022-07-16 16:56:19 W/mirai-administrator: MiraiAdministrator with GroupMessageEvent(group=x, senderName=x, sender=x, permission=MEMBER, message=[mirai:source:ids=[35387], internalIds=[1548574812], from group xto xat x]yee) java.lang.reflect.InvocationTargetException at jdk.internal.reflect.GeneratedMethodAccessor44.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97) at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113) at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108) at kotlin.reflect.full.KCallables.callSuspend(KCallables.kt:56) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callFunction(JvmMethodListenersInternal.kt:80) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.access$registerEventHandler$callFunction(JvmMethodListenersInternal.kt:1) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invokeSuspend(JvmMethodListenersInternal.kt:110) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt) at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:511) 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.SafeListener$onEvent$2.invokeSuspend(SafeListener.kt:58) at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt) at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:166) at kotlinx.coroutines.BuildersKt.withContext(Unknown Source) at net.mamoe.mirai.internal.event.SafeListener.onEvent(SafeListener.kt:58) at net.mamoe.mirai.internal.event.EventListeners.process(EventListeners.kt:125) at net.mamoe.mirai.internal.event.EventListeners.callListeners$mirai_core(EventListeners.kt:73) at net.mamoe.mirai.internal.event.EventListeners$callListeners$1.invokeSuspend(EventListeners.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:202) 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:749) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.github.gnuf0rce.mirai.censor.MiraiContentCensor at mirai-content-censor-1.3.2.jar//io.github.gnuf0rce.mirai.censor.MiraiContentCensorUtilsKt.censor(MiraiContentCensorUtils.kt:35) at mirai-content-censor-1.3.2.jar//io.github.gnuf0rce.mirai.censor.MiraiContentCensorUtilsKt.censor$default(MiraiContentCensorUtils.kt:31) at mirai-content-censor-1.3.2.jar//io.github.gnuf0rce.mirai.censor.spi.MiraiContentCensorService.handle(MiraiContentCensorService.kt:12) at mirai-administrator-1.2.4.mirai.jar//xyz.cssxsh.mirai.admin.MiraiAdministrator.mark$mirai_administrator(MiraiAdministrator.kt:334) ... 34 more
-
@haha
触发了某种编译bug,mirai-content-censor 1.3.3 修复 -
@cssxsh
emmmmm这次是新报错了. 抱歉2022-07-16 21:51:56 W/mirai-administrator: MiraiAdministrator with GroupMessageEvent(group=x, senderName=x, sender=x, permission=MEMBER, message=[mirai:source:ids=[35439], internalIds=[315301715], from group xto xat x]api?) java.lang.reflect.InvocationTargetException at jdk.internal.reflect.GeneratedMethodAccessor44.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97) at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113) at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108) at kotlin.reflect.full.KCallables.callSuspend(KCallables.kt:56) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callFunction(JvmMethodListenersInternal.kt:80) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.access$registerEventHandler$callFunction(JvmMethodListenersInternal.kt:1) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invokeSuspend(JvmMethodListenersInternal.kt:110) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt) at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:511) 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.SafeListener$onEvent$2.invokeSuspend(SafeListener.kt:58) at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt) at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:166) at kotlinx.coroutines.BuildersKt.withContext(Unknown Source) at net.mamoe.mirai.internal.event.SafeListener.onEvent(SafeListener.kt:58) at net.mamoe.mirai.internal.event.EventListeners.process(EventListeners.kt:125) at net.mamoe.mirai.internal.event.EventListeners.callListeners$mirai_core(EventListeners.kt:73) at net.mamoe.mirai.internal.event.EventListeners$callListeners$1.invokeSuspend(EventListeners.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:202) 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:749) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Caused by: xyz.cssxsh.baidu.oauth.exception.NotTokenException: RefreshToken at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.oauth.AbstractBaiduAuthClient.refreshToken$suspendImpl(AbstractBaiduAuthClient.kt:38) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.oauth.AbstractBaiduAuthClient.refreshToken(AbstractBaiduAuthClient.kt) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.aip.AipAuthorizeKt$getRefreshToken$2.invokeSuspend(AipAuthorize.kt:27) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.aip.AipAuthorizeKt$getRefreshToken$2.invoke(AipAuthorize.kt) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.aip.AipAuthorizeKt$getRefreshToken$2.invoke(AipAuthorize.kt) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.api.AbstractBaiduApiClient$useHttpClient$2.invokeSuspend(AbstractBaiduApiClient.kt:59) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.api.AbstractBaiduApiClient$useHttpClient$2.invoke(AbstractBaiduApiClient.kt) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.api.AbstractBaiduApiClient$useHttpClient$2.invoke(AbstractBaiduApiClient.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89) at kotlinx.coroutines.SupervisorKt.supervisorScope(Supervisor.kt:61) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.api.AbstractBaiduApiClient.useHttpClient$suspendImpl(AbstractBaiduApiClient.kt:55) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.api.AbstractBaiduApiClient.useHttpClient(AbstractBaiduApiClient.kt) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.aip.AipAuthorizeKt.getRefreshToken(AipAuthorize.kt:24) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.aip.AipClient$refresh$2.invokeSuspend(AipClient.kt:23) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.aip.AipClient$refresh$2.invoke(AipClient.kt) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.aip.AipClient$refresh$2.invoke(AipClient.kt) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.oauth.AbstractBaiduAuthClient.save$suspendImpl(AbstractBaiduAuthClient.kt:47) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.oauth.AbstractBaiduAuthClient.save(AbstractBaiduAuthClient.kt) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.aip.AipClient$DefaultImpls.refresh(AipClient.kt:23) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.aip.AbstractAipClient.refresh(AbstractAipClient.kt:6) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.oauth.AbstractBaiduAuthClient.accessToken$suspendImpl(AbstractBaiduAuthClient.kt:33) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.oauth.AbstractBaiduAuthClient.accessToken(AbstractBaiduAuthClient.kt) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.aip.AipContentCensor$text$2.invokeSuspend(AipContentCensor.kt:52) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.aip.AipContentCensor$text$2.invoke(AipContentCensor.kt) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.aip.AipContentCensor$text$2.invoke(AipContentCensor.kt) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.api.AbstractBaiduApiClient$useHttpClient$2.invokeSuspend(AbstractBaiduApiClient.kt:59) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.api.AbstractBaiduApiClient$useHttpClient$2.invoke(AbstractBaiduApiClient.kt) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.api.AbstractBaiduApiClient$useHttpClient$2.invoke(AbstractBaiduApiClient.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89) at kotlinx.coroutines.SupervisorKt.supervisorScope(Supervisor.kt:61) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.api.AbstractBaiduApiClient.useHttpClient$suspendImpl(AbstractBaiduApiClient.kt:55) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.api.AbstractBaiduApiClient.useHttpClient(AbstractBaiduApiClient.kt) at mirai-content-censor-1.3.3.mirai2.jar[shared]//xyz.cssxsh.baidu.aip.AipContentCensor.text(AipContentCensor.kt:47) at mirai-content-censor-1.3.3.mirai2.jar//io.github.gnuf0rce.mirai.censor.MiraiContentCensorUtilsKt.censor(MiraiContentCensorUtils.kt:41) at mirai-content-censor-1.3.3.mirai2.jar//io.github.gnuf0rce.mirai.censor.MiraiContentCensorUtilsKt.censor$default(MiraiContentCensorUtils.kt:37) at mirai-content-censor-1.3.3.mirai2.jar//io.github.gnuf0rce.mirai.censor.spi.MiraiContentCensorService.handle(MiraiContentCensorService.kt:12) at mirai-administrator-1.2.4.mirai.jar//xyz.cssxsh.mirai.admin.MiraiAdministrator.mark$mirai_administrator(MiraiAdministrator.kt:334) ... 34 more
-
请问这应该怎么解决
2022-07-16 22:05:45 W/mirai-administrator: MiraiAdministrator with GroupMessageEvent(group=93XXXX7, senderName=XXX, sender=31XXXXXXXX, permission=MEMBER, message=[mirai:source:ids=[2609], internalIds=[93XXXX921], from group 31XXXXXX118 to 934XXXX97 at 16XXXXX0340][mirai:image:{8C407C77-086B-B8B4-5229-4E1FC5523B5C}.jpg, width=600, height=600, size=80289, type=JPG, isEmoji=false]) java.lang.reflect.InvocationTargetException at jdk.internal.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97) at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113) at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108) at kotlin.reflect.full.KCallables.callSuspend(KCallables.kt:56) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callFunction(JvmMethodListenersInternal.kt:80) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.access$registerEventHandler$callFunction(JvmMethodListenersInternal.kt:1) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invokeSuspend(JvmMethodListenersInternal.kt:110) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt) at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:511) 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.SafeListener$onEvent$2.invokeSuspend(SafeListener.kt:58) at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt) at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:166) at kotlinx.coroutines.BuildersKt.withContext(Unknown Source) at net.mamoe.mirai.internal.event.SafeListener.onEvent(SafeListener.kt:58) at net.mamoe.mirai.internal.event.EventListeners.process(EventListeners.kt:125) at net.mamoe.mirai.internal.event.EventListeners.callListeners$mirai_core(EventListeners.kt:73) at net.mamoe.mirai.internal.event.EventListeners$callListeners$1.invokeSuspend(EventListeners.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:202) 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:749) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Caused by: java.lang.ExceptionInInitializerError at mirai-content-censor-1.3.2.mirai2.jar//io.github.gnuf0rce.mirai.censor.MiraiContentCensorUtilsKt.censor(MiraiContentCensorUtils.kt:40) at mirai-content-censor-1.3.2.mirai2.jar//io.github.gnuf0rce.mirai.censor.MiraiContentCensorUtilsKt.censor$default(MiraiContentCensorUtils.kt:31) at mirai-content-censor-1.3.2.mirai2.jar//io.github.gnuf0rce.mirai.censor.spi.MiraiContentCensorService.handle(MiraiContentCensorService.kt:12) at mirai-administrator-1.2.4.mirai2.jar//xyz.cssxsh.mirai.admin.MiraiAdministrator.mark$mirai_administrator(MiraiAdministrator.kt:334) ... 34 more Caused by: java.lang.NullPointerException: Parameter specified as non-null is null: method io.ktor.client.plugins.HttpCallValidator$Config.handleResponseExceptionWithRequest, parameter block at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.plugins.HttpCallValidator$Config.handleResponseExceptionWithRequest(HttpCallValidator.kt) at mirai-content-censor-1.3.2.mirai2.jar[private]//xyz.cssxsh.baidu.api.AbstractBaiduApiClient$client$1$6.invoke(AbstractBaiduApiClient.kt:47) at mirai-content-censor-1.3.2.mirai2.jar[private]//xyz.cssxsh.baidu.api.AbstractBaiduApiClient$client$1$6.invoke(AbstractBaiduApiClient.kt:46) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.HttpClientConfig$install$2.invoke(HttpClientConfig.kt:68) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.HttpClientConfig$install$2.invoke(HttpClientConfig.kt:64) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.HttpClientConfig$install$2.invoke(HttpClientConfig.kt:65) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.HttpClientConfig$install$2.invoke(HttpClientConfig.kt:64) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.plugins.HttpCallValidator$Companion.prepare(HttpCallValidator.kt:111) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.plugins.HttpCallValidator$Companion.prepare(HttpCallValidator.kt:107) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.HttpClientConfig$install$3.invoke(HttpClientConfig.kt:76) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.HttpClientConfig$install$3.invoke(HttpClientConfig.kt:73) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.HttpClientConfig.install(HttpClientConfig.kt:96) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.HttpClient.<init>(HttpClient.kt:168) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.HttpClient.<init>(HttpClient.kt:80) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.HttpClientKt.HttpClient(HttpClient.kt:42) at mirai-content-censor-1.3.2.mirai2.jar[private]//xyz.cssxsh.baidu.api.AbstractBaiduApiClient.<init>(AbstractBaiduApiClient.kt:25) at mirai-content-censor-1.3.2.mirai2.jar[private]//xyz.cssxsh.baidu.oauth.AbstractBaiduAuthClient.<init>(AbstractBaiduAuthClient.kt:10) at mirai-content-c```
-
-
@cssxsh
请问release是不是传错了,我刚刚在内容审核的release看到了网盘同步插件,而后又在网盘同步插件的release找到了内容审核😂 -
那个指令是留言的a大佬
-
是要先at吗
我把at: true 改成false还会留言吗?
希望加个自定义或者改成【我要留言】
不然可能会容易混淆 -
@QFLS
user
,at
这两个分别是私聊评论 和 群聊 at 评论的触发开关 -
同意好友请求时会出现错误,大佬看下是什么的原因
2022-07-30 14:39:14 W/mirai-administrator: 出现错误 java.util.NoSuchElementException: Not found event with 165916 at mirai-administrator-1.2.5.jar//xyz.cssxsh.mirai.admin.data.AdminRequestEventData.handle(AdminRequestEventData.kt:59) at mirai-administrator-1.2.5.jar//xyz.cssxsh.mirai.admin.command.AdminContactCommand.handle(AdminContactCommand.kt:44) at mirai-administrator-1.2.5.jar//xyz.cssxsh.mirai.admin.MiraiAdministrator.approve$mirai_administrator(MiraiAdministrator.kt:171) 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 kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97) at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113) at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108) at kotlin.reflect.full.KCallables.callSuspend(KCallables.kt:56) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callFunction(JvmMethodListenersInternal.kt:80) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.access$registerEventHandler$callFunction(JvmMethodListenersInternal.kt:1) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invokeSuspend(JvmMethodListenersInternal.kt:110) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt) at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:511) 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.SafeListener$onEvent$2.invokeSuspend(SafeListener.kt:58) at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt) at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:166) at kotlinx.coroutines.BuildersKt.withContext(Unknown Source) at net.mamoe.mirai.internal.event.SafeListener.onEvent(SafeListener.kt:58) at net.mamoe.mirai.internal.event.EventListeners.process(EventListeners.kt:125) at net.mamoe.mirai.internal.event.EventListeners.callListeners$mirai_core(EventListeners.kt:73) at net.mamoe.mirai.internal.event.EventListeners$callListeners$1.invokeSuspend(EventListeners.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:202) 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:749) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) 2022-07-30 14:39:14 V/Bot.256541840: Friend(1916587177) <- 出现错误: Not found event with 165916
-
@CLanmao 在 Mirai Administrator 机器人管理插件,好友/群管理,黑名单,宵禁 中说:
Not found event with 165916
老问题了,手机回复的时候,原消息会被裁剪的很短
导致 id 不完整,建议用 指令同意
https://github.com/cssxsh/mirai-administrator/issues/2 -
@cssxsh 好嘞,谢谢
-
请问,机器人在2个都在配置文件设置成群和好友不自动同意申请,需要等待号主同意的情况下,为什么还能被直接拉入47人的群?
而且我qq没有接收到机器人应该给我私聊发的加群验证是否同意
10人一下的也是
插件版本1.2.5
console版本2.12.0 -
@Ours
这是腾讯的问题,
人数较少的群不用通过当事人同意就能直接拉进群。 -
输入清理不发言的指令出现Cron expression contains 1 parts but we expect one of [6, 7],控制台输入也是这样
-
@wzkwzk
/<timer> <cleaner> [day] [cron] [group]?
这边的文档没同步,建议在 github 那个看
-
@cssxsh 谢谢
-
MCL2.1.0,文件都生成了,但就是不识别指令,终端和聊天里都不识别🤨🤨
-
可以设置精华和专属头衔嘛