请问可以禁用私聊吗,因为权限不走mirai自带的,不知道怎么禁用私聊,因为总是有人会私聊bot拿涩图,大大增加风险
L
lower_bound 发布的最新帖子
-
RE: 【涩图插件喜加一】mirai-console-lolicon
-
RE: Drift Bottle 漂流瓶插件
@Samarium150 哦感谢,非常不好意思,不知道为什么今天整个重装了一次以后审核就可以用了,不知道是什么原因,总之问题解决了,不好意思占用您时间了
-
RE: Drift Bottle 漂流瓶插件
@lower_bound
使用的时候有这样的报错2022-04-12 19:14:57 E/Drift Bottle: kotlinx.serialization.MissingFieldException: Field 'log_id' is required for type with serial name 'io.github.samarium150.baidu.aip.response.TextCensorResponseBody', but it was missing kotlinx.serialization.MissingFieldException: Field 'log_id' is required for type with serial name 'io.github.samarium150.baidu.aip.response.TextCensorResponseBody', but it was missing at kotlinx.serialization.internal.PluginExceptionsKt.throwMissingFieldException(PluginExceptions.kt:20) at io.github.samarium150.baidu.aip.response.TextCensorResponseBody.<init>(TextCensorResponseBody.kt:21) at io.github.samarium150.baidu.aip.response.TextCensorResponseBody$$serializer.deserialize(TextCensorResponseBody.kt:21) at io.github.samarium150.baidu.aip.response.TextCensorResponseBody$$serializer.deserialize(TextCensorResponseBody.kt:21) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:32) at kotlinx.serialization.json.Json.decodeFromString(Json.kt:100) at io.ktor.client.features.json.serializer.KotlinxSerializer.read(KotlinxSerializer.kt:37) at io.ktor.client.features.json.JsonSerializer$DefaultImpls.read(JsonSerializer.kt:31) at io.ktor.client.features.json.serializer.KotlinxSerializer.read(KotlinxSerializer.kt:20) at io.ktor.client.features.json.JsonFeature$Feature$install$2.invokeSuspend(JsonFeature.kt:161) at io.ktor.client.features.json.JsonFeature$Feature$install$2.invoke(JsonFeature.kt) at io.ktor.client.features.json.JsonFeature$Feature$install$2.invoke(JsonFeature.kt) at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:248) at io.ktor.util.pipeline.SuspendFunctionGun.proceed(SuspendFunctionGun.kt:116) at io.ktor.util.pipeline.SuspendFunctionGun.proceedWith(SuspendFunctionGun.kt:126) at io.ktor.client.features.HttpCallValidator$Companion$install$2.invokeSuspend(HttpCallValidator.kt:124) at io.ktor.client.features.HttpCallValidator$Companion$install$2.invoke(HttpCallValidator.kt) at io.ktor.client.features.HttpCallValidator$Companion$install$2.invoke(HttpCallValidator.kt) at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:248) at io.ktor.util.pipeline.SuspendFunctionGun.proceed(SuspendFunctionGun.kt:116) at io.ktor.util.pipeline.SuspendFunctionGun.execute(SuspendFunctionGun.kt:136) at io.ktor.util.pipeline.Pipeline.execute(Pipeline.kt:78) at io.ktor.client.call.HttpClientCall.receive(HttpClientCall.kt:100) at io.github.samarium150.mirai.plugin.driftbottle.util.ContentCensor.determine(ContentCensor.kt:223) at io.github.samarium150.mirai.plugin.driftbottle.util.ContentCensor$determine$2.invokeSuspend(ContentCensor.kt) 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 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: Drift Bottle 漂流瓶插件
是否启用内容审核
enableContentCensor: true
API_KEY: ZCdrYMmEsgQ4l6X9
SECRET_KEY: LuL2DEdcuLDf5OamnH0p