大佬在嘛,我用g+给了群权限,但是只用我自己管理员才能调用gkd指令,其他管理员用都没有反应
chenxinwei 发布的帖子
-
RE: R6Stats 简易彩虹六号战绩查询
大佬我的后台一直报错查不了战绩,只能看help怎么办
E/main java.lang.reflect.InvocationTargetException
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 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.jvm.internal.KCallableImpl.callDefaultMethod$kotlin_reflection(KCallableImpl.kt:159)
at kotlin.reflect.full.KCallables.callSuspendBy(KCallables.kt:74)
at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invokeSuspend(CommandReflector.kt:305)
at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invoke(CommandReflector.kt)
at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invoke(CommandReflector.kt)
at net.mamoe.mirai.console.command.descriptor.CommandSignatureFromKFunctionImpl.call$suspendImpl(CommandSignature.kt:88)
at net.mamoe.mirai.console.command.descriptor.CommandSignatureFromKFunctionImpl.call(CommandSignature.kt)
at net.mamoe.mirai.console.internal.command.CommandManagerImplKt.executeCommandImpl(CommandManagerImpl.kt:163)
at net.mamoe.mirai.console.command.CommandManager.executeCommand(CommandManager.kt:130)
at net.mamoe.mirai.console.command.CommandManager$INSTANCE.executeCommand(CommandManager.kt)
at com.youngerhousea.mirai.compose.viewmodel.ConsoleLogViewModelKt.SolveCommandResult(ConsoleLogViewModel.kt:187)
at com.youngerhousea.mirai.compose.viewmodel.ConsoleLogViewModelKt.access$SolveCommandResult(ConsoleLogViewModel.kt:1)
at com.youngerhousea.mirai.compose.viewmodel.ConsoleLogViewModel.reduce(ConsoleLogViewModel.kt:67)
at com.youngerhousea.mirai.compose.viewmodel.ConsoleLogViewModel.access$reduce(ConsoleLogViewModel.kt:51)
at com.youngerhousea.mirai.compose.viewmodel.ConsoleLogViewModel$dispatch$1.invokeSuspend(ConsoleLogViewModel.kt:58)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
Caused by: java.lang.ClassCastException: class net.mamoe.mirai.console.command.ConsoleCommandSender cannot be cast to class net.mamoe.mirai.console.command.CommandSenderOnMessage (net.mamoe.mirai.console.command.ConsoleCommandSender and net.mamoe.mirai.console.command.CommandSenderOnMessage are in unnamed module of loader 'app')
at cf.liyu.command.R6stats.id(R6stats.kt:36)
... 28 more