Mirai Administrator 机器人管理插件,好友/群管理,黑名单,宵禁
-
@cssxsh 感谢提醒 赞
-
老哥这个conf文件咋配置, 就qq号填在哪?
-
@初然inside
这不是这个帖子讨论的内容吧 -
@cssxsh 就是这个插件的配置文件
-
@初然inside
你发的图对不上
我插件的配置文件在
config\xyz.cssxsh.mirai.plugin.mirai-administrator\
别找错地方了 -
@cssxsh 行
-
-
你好,我看了Permission Command,但是不太熟练。请问一下权限是怎么给的。
-
@SVIPNB
/perm add u170202286 xyz.cssxsh.mirai.plugin.mirai-administrator:*
-
@cssxsh 好了多谢
-
在config\xyz.cssxsh.mirai.plugin.mirai-administrator文件夹中没有生成AdminSetting.yml,我使用的mirai版本是2.11.0-M2.2
-
@SVIPNB 升级到2.11.0好了
-
请问有被禁言自动退群功能吗?
然后可以自定义开启拉黑功能 -
@Ours
? -
-
上线提醒会一直重复发是哪里的问题,type是custom和plain都一样
-
补一下刚才的图,另外我实际设置权限的时候用的权限名是xyz.cssxsh.mirai.plugin.mirai-administrator:online.include而不是xyz.cssxsh.mirai.mirai-administrator:online.include,是版本的问题嘛
-
@子君9297
1.2.2 修复 -
能更新一个开关吗?
可以开启被禁言了自动退群
且可以自己设定是否开启自动拉黑该群 -
@Ours
1.2.4
AdminAutoQuitConfig -
和content-censor内容审核的联动似乎有点问题
mirai版本2.12.02022-07-15 15:53:51 W/mirai-administrator: MiraiAdministrator with GroupMessageEvent(group=x掉, senderName=x掉, sender=x掉, permission=MEMBER, message=[mirai:source:ids=[35314], internalIds=[88682116], from group 761794963 to 285369434 at 1657871631]谁知道呢) java.lang.reflect.InvocationTargetException 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 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.1.mirai.jar//io.github.gnuf0rce.mirai.censor.MiraiContentCensorUtilsKt.censor(MiraiContentCensorUtils.kt:29) at mirai-content-censor-1.3.1.mirai.jar//io.github.gnuf0rce.mirai.censor.MiraiContentCensorUtilsKt.censor$default(MiraiContentCensorUtils.kt:25) at mirai-content-censor-1.3.1.mirai.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) ... 35 more
-