@hlfzsi 可
CaliGrosto 发布的帖子
-
RE: 简单的发图(关键词+本地图库),搜图插件(以及一些小功能)
@cheeeeeeen 图片路径设置成/home/pic/1
最后的一个斜杆去掉就行了
最新版最后加不加斜杆都不影响了 -
RE: 简单的发图(关键词+本地图库),搜图插件(以及一些小功能)
@1397905002 不好意思,里面有个地方配置我写错了,新版本已经发到了GitHub上面了,替换一下就可以使用了。
-
简单的发图(关键词+本地图库),搜图插件(以及一些小功能)
V2.6已更新
项目链接(初学,写的很烂)
使用前应该查阅的相关文档:
- Permission Command
- chat-command
2023/1/8更新:
图库数量自定义
2023/1/23更新:
对原有功能进行优化
新增搜索图片出处功能(ascii2d)
2023/3/30更新v2.3:
加了个搜图冷却
2023/4/4更新v2.4:
改进了一下冷却
2023/6/10更新v2.5
config中新增(伪随机)取图功能选项(默认关闭)
2023/8/15更新v2.6
新增模糊匹配选项
说明:
每在群中检测到一次触发语句,就会随机从用户设定好的图库文件夹中抽取一张图片发送回QQ群中(具体见Github README)
如还有其它问题可以进群189948655提问
也可以通过指令
(/)来点 xx涩图 来通过loliconapi搜涩图(需要权限"com.alins.simplesendphoto:来点")
具体见README.md
使用示例:使用示例2:
(随机从自定义的文件夹中抽取一张图片发送)
-
RE: B站订阅插件,动态、视频、直播订阅 @全体成员
这是咋回事
2022-03-31 21:50:38 W/bilibili-helper: LiveWaiter with 7706705 数据加载异常,请汇报给开发者 kotlinx.serialization.json.internal.JsonDecodingException: Expected class kotlinx.serialization.json.JsonArray as the serialized body of kotlin.collections.ArrayList, but had class kotlinx.serialization.json.JsonNull at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:24) at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure(TreeJsonDecoder.kt:303) at kotlinx.serialization.json.internal.JsonTreeDecoder.beginStructure(TreeJsonDecoder.kt:234) at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:29) at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63) at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeSerializableValue(TreeJsonDecoder.kt:51) at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableValue(Tagged.kt:206) at kotlinx.serialization.internal.TaggedDecoder$decodeSerializableElement$1.invoke(Tagged.kt:279) at kotlinx.serialization.internal.TaggedDecoder.tagBlock(Tagged.kt:296) at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableElement(Tagged.kt:279) at xyz.cssxsh.bilibili.data.AnchorInfo$LiveInfo$$serializer.deserialize(Live.kt:259) at xyz.cssxsh.bilibili.data.AnchorInfo$LiveInfo$$serializer.deserialize(Live.kt:259) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63) at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeSerializableValue(TreeJsonDecoder.kt:51) at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableValue(Tagged.kt:206) at kotlinx.serialization.internal.TaggedDecoder$decodeSerializableElement$1.invoke(Tagged.kt:279) at kotlinx.serialization.internal.TaggedDecoder.tagBlock(Tagged.kt:296) at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableElement(Tagged.kt:279) at xyz.cssxsh.bilibili.data.AnchorInfo$$serializer.deserialize(Live.kt:242) at xyz.cssxsh.bilibili.data.AnchorInfo$$serializer.deserialize(Live.kt:242) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63) at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeSerializableValue(TreeJsonDecoder.kt:51) at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableValue(Tagged.kt:206) at kotlinx.serialization.internal.TaggedDecoder$decodeSerializableElement$1.invoke(Tagged.kt:279) at kotlinx.serialization.internal.TaggedDecoder.tagBlock(Tagged.kt:296) at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableElement(Tagged.kt:279) at xyz.cssxsh.bilibili.data.BiliLiveInfo$$serializer.deserialize(Live.kt:278) at xyz.cssxsh.bilibili.data.BiliLiveInfo$$serializer.deserialize(Live.kt:278) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63) at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeSerializableValue(TreeJsonDecoder.kt:51) at kotlinx.serialization.json.internal.TreeJsonDecoderKt.readJson(TreeJsonDecoder.kt:24) at kotlinx.serialization.json.Json.decodeFromJsonElement(Json.kt:119) at xyz.cssxsh.bilibili.api.LiveKt$getLiveInfo$$inlined$json$1.invokeSuspend(Api.kt:125) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191) at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147) at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15) at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191) at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147) at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15) at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191) at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147) at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15) at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:39) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95) 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)
-
RE: DrawMeme - 基于Skiko的奇怪的图片生成器
2022-03-30 08:36:05 E/DrawMeme: Exception in coroutine Plugin org.laolittle.plugin.draw.DrawMeme of DrawMeme
java.lang.RuntimeException: Can't wrap nullptr
at org.jetbrains.skia.impl.Native.<init>(Native.jvm.kt:40)
at org.jetbrains.skia.impl.Managed.<init>(Managed.jvm.kt:11)
at org.jetbrains.skia.impl.RefCnt.<init>(RefCnt.jvm.kt:6)
at org.jetbrains.skia.Typeface.<init>(Typeface.kt:16)
at org.jetbrains.skia.Typeface$Companion.makeFromName(Typeface.kt:36)
at org.laolittle.plugin.Fonts.get(Fonts.kt:25)
at org.laolittle.plugin.draw.DrawMeme$onEnable$2$4.invokeSuspend(DrawMeme.kt:404)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
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: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) -
RE: B站订阅插件,动态、视频、直播订阅 @全体成员
2022-03-28 23:48:37 W/bilibili-helper: LiveWaiter with 672328094 数据加载异常,请汇报给开发者 kotlinx.serialization.MissingFieldException: Field 'online' is required for type with serial name 'xyz.cssxsh.bilibili.data.BiliRoomSimple', but it was missing at kotlinx.serialization.internal.PluginExceptionsKt.throwMissingFieldException(PluginExceptions.kt:20) at xyz.cssxsh.bilibili.data.BiliRoomSimple.<init>(Live.kt:57) at xyz.cssxsh.bilibili.data.BiliRoomSimple$$serializer.deserialize(Live.kt:57) at xyz.cssxsh.bilibili.data.BiliRoomSimple$$serializer.deserialize(Live.kt:57) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63) at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeSerializableValue(TreeJsonDecoder.kt:51) at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableValue(Tagged.kt:206) at kotlinx.serialization.internal.TaggedDecoder$decodeSerializableElement$1.invoke(Tagged.kt:279) at kotlinx.serialization.internal.TaggedDecoder.tagBlock(Tagged.kt:296) at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableElement(Tagged.kt:279) at xyz.cssxsh.bilibili.data.BiliUserInfo$$serializer.deserialize(User.kt:14) at xyz.cssxsh.bilibili.data.BiliUserInfo$$serializer.deserialize(User.kt:14) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63) at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeSerializableValue(TreeJsonDecoder.kt:51) at kotlinx.serialization.json.internal.TreeJsonDecoderKt.readJson(TreeJsonDecoder.kt:24) at kotlinx.serialization.json.Json.decodeFromJsonElement(Json.kt:119) at xyz.cssxsh.bilibili.api.UserKt$getUserInfo$$inlined$json$1.invokeSuspend(Api.kt:127) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191) at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147) at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15) at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191) at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147) at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15) at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191) at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191) at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147) at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15) at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191) at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147) at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15) at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:39) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95) 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)
-
RE: [mirai-api-http]梗查询插件——GengSearch
@koreyoshi 在 [mirai-api-http]梗查询插件——GengSearch 中说:
@caligrosto 再重新下载一遍最新版本试试,linux的包里的wkhtmltopdf我不小心打包成exe文件了,在linux下运行不了
emm还是不行,和上面一样的报错。
-
RE: [mirai-api-http]梗查询插件——GengSearch
刚刚弄好然后又出现了个新问题(好麻烦555)
Listening……
Get mission
Searchid: 622162655
infoUrl: https://jikipedia.com/definition/622162655
Error
save loglog:
Date:2022-02-05 03:14:41
SenderGroup:336414544
SenderID:908997187
SearchUrl:Error
InfoUrl:Error
RuningTime:0 S