小冰颜值检测
-
下载地址: https://github.com/lliioollcn/XiaoIceFace/releases
食用方法:
机器人会回复:
记得在mirai-console上给指令权限,没反应说明没给指令权限
权限: cn.lliiooll.bot.xiaoiceface:command.face -
E子吗
-
/permission add 368319163 cn.lliiooll.bot.xiaoiceface:command.face
OK
2023-09-10 21:38:00 V/Bot.3530611703: [<%ĀĀ␇Ö> 神乐七奈のDD后宫团(616614136)] 神楽七奈(368319163) -> /face[mirai:image:{9192ECB7-80C1-F5E2-A194-B4D69BDC80ED}.jpg, width=1182, height=1576, size=202122, type=JPG, isEmoji=false]
2023-09-10 21:38:00 V/Bot.3530611703: Event: MemberCardChangeEvent(origin=汇汪AI | 服务器CPU占用 1.558%, new=汇汪AI | 服务器CPU占用 1.550%, member=NormalMember(3530611703))
2023-09-10 21:38:01 W/XiaoIceFace: Exception in executing command[mirai:source:ids=[1516073], internalIds=[784792179], from group 368319163 to 616614136 at 1694353081]/face[mirai:image:{9192ECB7-80C1-F5E2-A194-B4D69BDC80ED}.jpg, width=1182, height=1576, size=202122, type=JPG, isEmoji=false]
command owned by XiaoIceFace v0.0.2 with NormalMember(368319163)
java.io.FileNotFoundException: http://c2cpicdw.qpic.cn/offpic_new/616614136/0BADBADBAD-1639699087/0?term=2&is_origin=0
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1993)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
at 颜值检测XiaoIceFace-0.0.2.mirai.jar//cn.lliiooll.bot.util.Utils.bytes(Utils.java:122)
at 颜值检测XiaoIceFace-0.0.2.mirai.jar//cn.lliiooll.bot.ai.XiaoIceFaceModule.getImgBase64(XiaoIceFaceModule.java:103)
at 颜值检测XiaoIceFace-0.0.2.mirai.jar//cn.lliiooll.bot.ai.XiaoIceFaceModule.process(XiaoIceFaceModule.java:45)
at 颜值检测XiaoIceFace-0.0.2.mirai.jar//cn.lliiooll.bot.FaceCommand.handle(FaceCommand.kt:29)
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:74)
at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invokeSuspend(CommandReflector.kt:339)
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:84)
at net.mamoe.mirai.console.command.descriptor.CommandSignatureFromKFunctionImpl.call(CommandSignature.kt)
at net.mamoe.mirai.console.internal.command.CommandManagerImplKt.executeCommandImpl(CommandManagerImpl.kt:168)
at net.mamoe.mirai.console.command.CommandManager.executeCommand$suspendImpl(CommandManager.kt:131)
at net.mamoe.mirai.console.command.CommandManager.executeCommand(CommandManager.kt)
at net.mamoe.mirai.console.command.CommandManager$INSTANCE.executeCommand(CommandManager.kt)
at net.mamoe.mirai.console.command.CommandManager.executeCommand$default(CommandManager.kt:126)
at chat-command-0.6.0.mirai2.jar//net.mamoe.mirai.console.plugins.chat.command.PluginMain.handleCommand(PluginMain.kt:98)
at chat-command-0.6.0.mirai2.jar//net.mamoe.mirai.console.plugins.chat.command.PluginMain$onEnable$2$1.invokeSuspend(PluginMain.kt:66)
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:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt