@wine 已更新3.3.0版本,现在可以自定义指令头了
https://github.com/Ycituss/suijisetu/releases
Ycituss 发布的帖子
-
RE: 随机色图插件
@xlive2233 bug已修复,添加了新的功能
详情请到github查看
https://github.com/Ycituss/suijisetu/releases -
RE: Plum 无法加载,报错缺少动态链接库
@ycituss 找到我报错的原因了
这个版本的java运行就可以正常加载PS F:\Mirai0> java -version openjdk version "11.0.11" 2021-04-20 OpenJDK Runtime Environment Microsoft-22268 (build 11.0.11+9) OpenJDK 64-Bit Server VM Microsoft-22268 (build 11.0.11+9, mixed mode)
这个就提示缺少依赖
PS F:\Mirai0> F:/Mirai0/java/bin/java.exe -version openjdk version "11.0.11" 2021-04-20 OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9) OpenJDK Client VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, mixed mode)
由此看来是32位jre缺少加载所需的依赖。
-
RE: Plum 无法加载,报错缺少动态链接库
@rainchan 我试了手动加载
这是我的配置# JRE version: OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (11.0.11+9) (build 11.0.11+9) # Java VM: OpenJDK Client VM AdoptOpenJDK-11.0.11+9 (11.0.11+9, mixed mode, serial gc, windows-x86)
手动加载windows-shared-x86报错
2021-08-12 11:56:18 E/Plum: java.lang.UnsatisfiedLinkError: F:\git\silk4j_libs\windows-shared-x86\liblame.dll: Can't find dependent libraries java.lang.UnsatisfiedLinkError: F:\git\silk4j_libs\windows-shared-x86\liblame.dll: Can't find dependent libraries at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method) at java.base/java.lang.ClassLoader$NativeLibrary.load(Unknown Source) at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(Unknown Source) at java.base/java.lang.ClassLoader.loadLibrary0(Unknown Source) at java.base/java.lang.ClassLoader.loadLibrary(Unknown Source) at java.base/java.lang.Runtime.load0(Unknown Source) at java.base/java.lang.System.load(Unknown Source)
-
RE: Pixiv插件 查看排行榜 以图搜图 以图搜番 查看原图 查看作者作品 搜标签
@nekoer
报错信息
2021-08-02 11:55:58 W/stderr: java.lang.NullPointerException
2021-08-02 11:55:58 W/stderr: at com.hcyacg.search.Saucenao.picToSearch(Saucenao.kt:52)
2021-08-02 11:55:58 W/stderr: at com.hcyacg.Pixiv$onEnable$2.invokeSuspend(Pixiv.kt:38)
2021-08-02 11:55:58 W/stderr: at com.hcyacg.Pixiv$onEnable$2.invoke(Pixiv.kt)
2021-08-02 11:55:58 W/stderr: at com.hcyacg.Pixiv$onEnable$2.invoke(Pixiv.kt)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:432)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.event.Handler$onEvent$2.invokeSuspend(InternalEventListeners.kt:50)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.event.Handler.onEvent(InternalEventListeners.kt:50)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.event.InternalEventListenersKt.process(InternalEventListeners.kt:160)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.event.InternalEventListenersKt.callAndRemoveIfRequired(InternalEventListeners.kt:109)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.event._EventBroadcast.broadcastImpl(Event.kt:174)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.IMirai.broadcastEvent(IMirai.kt:312)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.MiraiImpl.broadcastEvent$suspendImpl(MiraiImpl.kt:296)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.MiraiImpl.broadcastEvent(MiraiImpl.kt)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.event._EventBroadcast.broadcastPublic$suspendImpl(Event.kt:161)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.event._EventBroadcast.broadcastPublic(Event.kt)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.event.EventKt.broadcast(Event.kt:148)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcast$2.invokeSuspend(EventDispatcher.kt:90)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcast$2.invoke(EventDispatcher.kt)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcast$2.invoke(EventDispatcher.kt)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.network.components.EventDispatcherImpl.broadcast$suspendImpl(EventDispatcher.kt:89)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.network.components.EventDispatcherImpl.broadcast(EventDispatcher.kt)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcastAsync$job$1.invokeSuspend(EventDispatcher.kt:105)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcastAsync$job$1.invoke(EventDispatcher.kt)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcastAsync$job$1.invoke(EventDispatcher.kt)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.network.components.EventDispatcherImpl.broadcastAsync-kKe4JaQ(EventDispatcher.kt:102)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.network.components.EventDispatcher.broadcastAsync-kKe4JaQ$default(EventDispatcher.kt:35)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.network.components.EventBroadcasterPacketHandler.impl(PacketHandler.kt:87)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.network.components.EventBroadcasterPacketHandler.handlePacket(PacketHandler.kt:73)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.network.components.PacketHandlerChain.handlePacket(PacketHandler.kt:42)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$collectReceived$3.invokeSuspend(NetworkHandlerSupport.kt:83)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$collectReceived$3.invoke(NetworkHandlerSupport.kt)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$collectReceived$3.invoke(NetworkHandlerSupport.kt)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport.collectReceived$mirai_core(NetworkHandlerSupport.kt:81)
2021-08-02 11:55:58 W/stderr: at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$PacketDecodePipeline$2$1.invokeSuspend(NettyNetworkHandler.kt:186)
2021-08-02 11:55:58 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
2021-08-02 11:55:58 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) -
随机色图插件
随机色图插件(suijisetu)
更新
3.0.0版本对配置文件进行结构调整,低版本升级请删除原来的配置文件
一个基于Mirai 2.7-M2的机器人插件,用以发送随机图片
使用说明
- 插件项目地址 github项目地址 Gitee项目地址
- 插件基于Mirai Clonsole 2.7-M2版本开发,请使用Mirai-Clonsole 2.7-M2及以上版本使用本插件
- 插件最新下载地址github下载地址 Gitee下载地址
- 插件所用API随机色图 (lolicon.app) 、韩小韩API接口站
- 使用时将mirai.jar文件放入plugins文件夹,重启Mirai
- 配置文件位于config文件夹下的Setu文件夹中
- 第一次用在配置文件里手动更改botAdministrators项,改为自己的QQ号
- 3.0.0版本对配置文件进行结构调整,低版本升级请删除原来的配置文件
指令说明
现在可以在配置文件中更改不同命令的指令头,更改后使用
seturebot
生效-
权限管理
说明 指令 备注 查看当前拥有权限的成员 super list 给成员添加权限 super add QQ号 删除成员权限 super del QQ号 打开本群随机色图 super open setu (all) (all)为可选参数,表示全局开启或关闭,使用时请不要带括号 关闭本群随机色图 super close setu (all) 打开本群随机色图r18功能 super open r18 (all) 关闭本群随机色图r18功能 super close r18 (all) -
随机图片指令
指令头 gkd/来张图 新增指令头自定义,可通过 super command add/del [自定义指令头] 更改指令头
使用 super command list 查看当前指令头
说明 指令 示例 发送随机风景图 风景/风景图 gkd 风景 发送随机英雄联盟图片 lol/英雄联盟 gkd lol 发送随机手机分辨率美图 真人/三次元 来张图 三次元 发送随机电脑分辨率美图 无 gkd 随机发送二次元色图指令 [指令头] setu/色图 (图片规格) (内容偏好) ()内为可选参数
参数说明 可选参数 图片规格 0,1,2,3,4 内容偏好 r18,R18 示例 说明 gkd setu 2 发送大小为2的随机图片 gkd setu 3 r18 发送大小为3的r18图片 -
跨群发送消息
指令格式 指令头 群编号 要发送的消息 指令头 stg,sendtogroup 群编号 通过群列表指令查看 示例 stg 0 test message -
查看群列表
说明 指令 列出当前机器人添加的所有群 gl,GL,grouplist,GroupList,群列表