Linux启动后应该如何正确关闭控制台,Ctrl+C
没反应……
SnowMoonSS 发布的帖子
-
RE: EntryLib 词条库(群词条多功能自定义回复)
@bill-yang 在 EntryLib 词条库(群词条多功能自定义回复) 中说:
已经更新1.3.1版本,以上需求已经加入
https://github.com/BillYang2016/entrylib/releases/tag/1.3.1我超,牛蛙,感谢楼主。还以为不更新了,没想到今天逛论坛看到了更新。
-
RE: Weibo Helper 一个简单的将微博转发到QQ的插件
今天突然就这样了……
聊天信息wuser(6593199887)监听任务序列化时失败, kotlinx.serialization.MissingFieldException: Fields [duration, h5_url, media_id, name, next_title, video_publish_time] are required for type with serial name 'xyz.cssxsh.weibo.data.PageInfo.MediaInfo', but they were missing
控制台:
2021-12-26 20:36:48 W/weibo-helper: wuser(6593199887)监听任务序列化时失败 kotlinx.serialization.MissingFieldException: Fields [duration, h5_url, media_id, name, next_title, video_publish_time] are required for type with serial name 'xyz.cssxsh.weibo.data.PageInfo.MediaInfo', but they were missing at kotlinx.serialization.internal.PluginExceptionsKt.throwMissingFieldException(PluginExceptions.kt:20) at xyz.cssxsh.weibo.data.PageInfo$MediaInfo.<init>(PageInfo.kt:21) at xyz.cssxsh.weibo.data.PageInfo$MediaInfo$$serializer.deserialize(PageInfo.kt:21) at xyz.cssxsh.weibo.data.PageInfo$MediaInfo$$serializer.deserialize(PageInfo.kt:21) 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$decodeNullableSerializableElement$1.invoke(Tagged.kt:288) at kotlinx.serialization.internal.TaggedDecoder.tagBlock(Tagged.kt:296) at kotlinx.serialization.internal.TaggedDecoder.decodeNullableSerializableElement(Tagged.kt:287) at xyz.cssxsh.weibo.data.PageInfo$$serializer.deserialize(PageInfo.kt:5) at xyz.cssxsh.weibo.data.PageInfo$$serializer.deserialize(PageInfo.kt:5) 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$decodeNullableSerializableElement$1.invoke(Tagged.kt:288) at kotlinx.serialization.internal.TaggedDecoder.tagBlock(Tagged.kt:296) at kotlinx.serialization.internal.TaggedDecoder.decodeNullableSerializableElement(Tagged.kt:287) at xyz.cssxsh.weibo.data.MicroBlog$$serializer.deserialize(MicroBlog.kt:13) at xyz.cssxsh.weibo.data.MicroBlog$$serializer.deserialize(MicroBlog.kt:13) 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 kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:535) at kotlinx.serialization.internal.ListLikeSerializer.readElement(CollectionSerializers.kt:80) at kotlinx.serialization.internal.AbstractCollectionSerializer.readElement$default(CollectionSerializers.kt:51) at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:36) 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.weibo.data.UserBlog$$serializer.deserialize(MicroBlog.kt:125) at xyz.cssxsh.weibo.data.UserBlog$$serializer.deserialize(MicroBlog.kt:125) 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.weibo.api.StatusesKt.getUserMicroBlogs(Statuses.kt:135) at xyz.cssxsh.weibo.api.StatusesKt$getUserMicroBlogs$1.invokeSuspend(Statuses.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) 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 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: EntryLib 词条库(群词条多功能自定义回复)
希望能增加一些功能:
1、支持在不同的词条中使用不同的回复方式。比如词条A是随机回复,词条B是回复最新词条这样
2、能够精准地删除词条中的某一个回复(或许这个功能是已经有的而我不知道)。比如词条A里有三个回复,希望能精准的删除词条A里的第二个回复
3、希望能为词条设定别名。比如已有词条A,然后设定cta为词条A的别名,发送cta也能收到词条A的回复
希望dalao能考虑一下增加这些功能,十分感谢! -
RE: 【涩图插件喜加一】mirai-console-lolicon
看起来好像是Lolicon API那边出了点问题……
2021-10-21 14:20:36 E/mirai-console-lolicon: io.ktor.network.sockets.ConnectTimeoutException: Connect timeout has expired [url=https://i.pixiv.cat/img-original/img/2021/03/07/16/47/58/88279104_p0.png, connect_timeout=unknown ms] io.ktor.network.sockets.ConnectTimeoutException: Connect timeout has expired [url=https://i.pixiv.cat/img-original/img/2021/03/07/16/47/58/88279104_p0.png, connect_timeout=unknown ms] at io.ktor.client.features.HttpTimeoutKt.ConnectTimeoutException(HttpTimeout.kt:183) at io.ktor.client.engine.okhttp.OkUtilsKt.mapOkHttpException(OkUtils.kt:75) at io.ktor.client.engine.okhttp.OkUtilsKt.access$mapOkHttpException(OkUtils.kt:1) at io.ktor.client.engine.okhttp.OkHttpCallback.onFailure(OkUtils.kt:39) at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:510) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.net.SocketTimeoutException: connect timed out at java.base/java.net.PlainSocketImpl.socketConnect(Native Method) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:119) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:283) at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:195) at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:249) at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:108) at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:76) at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:245) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:82) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:197) at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:502) ... 3 more
-
RE: LuckPerms - Mirai - 高级权限服务插件
请问能详解一下context中的内容吗
下面是我的猜测选项 猜测 admin:true
响应群管理员(包含群主)在群里发送的消息,不包括私聊和临时会话中的消息 admin:false
响应非群管理员(包含群主)在群里发送的消息,不包括私聊和临时会话中的消息 contact:group
群消息 contact:user
私聊与临时会话 level:administrator
响应管理员(不包括普通群员与群主)在群里发送的消息,不包括私聊和临时会话中的消息 level:member
响应普通群员(不包括群主与管理员)在群里发送的消息,不包括私聊和临时会话中的消息 level:owner
响应群主在群里发送的消息,不包括私聊和临时会话中的消息 type:friend
响应好友发送的消息,不响应好友在群里发送的消息 type:group
响应群消息 type:user
响应临时会话(不包括好友消息) 看起来有
group=123456789
这种语法,那么user=123456789
这种存在吗?以上选项都能同时使用并且同时都满足才会响应
/lp user
中的user
指的是QQ号还是同时指QQ号和群号抱歉一下子问这么多
-
RE: Weibo Helper 一个简单的将微博转发到QQ的插件
@cssxsh 比如说这条:
https://weibo.com/5253615020/KwVWPiy7q
我订阅的是@最终幻想14 但我没看到@最终幻想14 有转发过这条,看这消息样式也不是转发的…… -
RE: Weibo Helper 一个简单的将微博转发到QQ的插件
碰到个神秘bug,bot会莫名其妙发一条未订阅的用户的微博,但是这条微博又有着与已订阅用户相关的内容……是把点赞的也算进了吗
另外就是,有时候会发一条远古微博到群里……被调侃成火星bot了……
以上问题在控制台界面都没有什么异常现象,问题太神秘了,而且持续有段时间了,也没发现触发这两个问题的规律…… -
RE: [Mirai-Native] 词云插件
关于Linux上运行mirai-native插件:https://github.com/w4123/MiraiNative-CrossPlatform