PatPat摸摸头插件
-
@ssthssk 请详细描述
-
@tsudzuki 就是我发送“摸我”和“摸爆@某某”他都没反应
-
@ssthssk 不应该呀,代码是没多大差异的,你是否有使用最新版本?
-
@ssthssk 哦不对,权限管理里面看看,摸 摸我 摸爆三个是不同的指令
-
@tsudzuki 确是如此,感谢
-
@ssthssk 我也不行,然后我给群友赋予权限
-
这怎么办
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.jvm.internal.KCallableImpl.callDefaultMethod$kotlin_reflection(KCallableImpl.kt:159)
at kotlin.reflect.full.KCallables.callSuspendBy(KCallables.kt:73)
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 net.mamoe.mirai.console.command.CommandManager.executeCommand$default(CommandManager.kt:125)
at net.mamoe.mirai.console.plugins.chat.command.PluginMain.handleCommand(PluginMain.kt:86)
at net.mamoe.mirai.console.plugins.chat.command.PluginMain$onEnable$2$1.invokeSuspend(PluginMain.kt:69)
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.nio.file.NoSuchFileException: C:\Users\29364\Documents\Tencent%20Files\1120885578\FileRecv\jiujiqiren\mcl-1.2.2\plugins\PatPat-1.0.6.jar
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:53)
at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:38)
at java.base/sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:199)
at java.base/java.nio.file.Files.readAttributes(Files.java:1851)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1264)
at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:709)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:243)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:172)
at java.base/java.util.jar.JarFile.<init>(JarFile.java:347)
at java.base/java.util.jar.JarFile.<init>(JarFile.java:318)
at java.base/java.util.jar.JarFile.<init>(JarFile.java:257)
at org.laolittle.plugin.model.PatPatToolKt.selfRead(PatPatTool.kt:106)
at org.laolittle.plugin.model.PatPatToolKt.processImage(PatPatTool.kt:87)
at org.laolittle.plugin.model.PatPatToolKt.mkImg(PatPatTool.kt:66)
at org.laolittle.plugin.model.PatPatToolKt.getPat(PatPatTool.kt:40)
at org.laolittle.plugin.command.Pat.handle(Pat.kt:27)
... 26 more -
-
使用指令:/perm add m* org.laolittle.plugin.patpat:command.摸
群里的其他人员还是没办法使用 -
@bestlm 意思是你可以用?
你可以通过
/perm lp
来查看插件的权限ID是否正确 -
-
更新 2.0-SNAPSHOT
添加
纯文本At/群员昵称
解析弃用
command
https://github.com/LaoLittle/PatPat/releases/tag/2.0-SNAPSHOT
目前有bug
-
-
-
安装本插件和chat-command到plugins文件夹后不能使用,输入/perm add m* org.laolittle.plugin.patpat:command.摸 再尝试发送 摸@xxx 也依然不行
-
@hank0410 2.0.0之后不再需要配置权限,请在群聊使用本插件
-
@tsudzuki 就是群聊试的,后台无报错
-
@hank0410 机器人没有任何提示?如果找不到的话机器人会发送"我不知道你要摸谁"
可以报一下mirai版本么
-
@tsudzuki 好了没问题了,,换了个号好了,被某x屏蔽了发不出图
谢谢大佬的解答! -
-
可以修改一下匹配或者语句嘛,有群友发个摸鱼什么的也会触发,经常能看到我不知道你要摸谁的回复,误触率有点高。