Drift Bottle 漂流瓶插件
-
@VaeroPertis 升级console到2.10.1
-
是否启用内容审核
enableContentCensor: true
API_KEY: ZCdrYMmEsgQ4l6X9
SECRET_KEY: LuL2DEdcuLDf5OamnH0p
-
@lower_bound 我把内容审核打开了,但是没有成功进行审核,百度那边调用显示是0次,应该怎么改啊?
-
@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)
-
@lower_bound 明天看看
-
@lower_bound 我这边API KEY的长度是24位,Secret KEY是32位,你检查一下吧
-
@Samarium150 您好,我输入的secret_key只是为了防止别人拿走,中间删除了一点,实际上两个长度都是对的,不好意思
-
@Samarium150 哦感谢,非常不好意思,不知道为什么今天整个重装了一次以后审核就可以用了,不知道是什么原因,总之问题解决了,不好意思占用您时间了
-
@lower_bound 没事,解决了就好
-
你捞到了一个漂流瓶,上面写着:肯德基疯狂星期四,v我50
-
为什么我把jar拖进去之后重启MCL还是不管用
-
@2175136254 仔细阅读2楼的说明。
-
有没有什么办法解决 ![~WI7F)~$O4P~`@{_AA{9_2.png
前面是"/"貌似不能用,但是不带"/"虽然可以用但是怕误触发,感谢 -
关于超时的那玩意咋用 找了一圈就只有reply里面有timeout
我刚输完指令就显示 是不是没有还没有想到要写什么呢?那待会再找我也行哦
一秒都没到就超时了 -
@MC_DALIU 超时固定是30秒
-
@RaTaiHok 暂时没有设计自行启用“/”前缀。别名列表设置为空的时候就只能用原名。
-
@Samarium150 但问题是没有30就超时
-
@MC_DALIU 发截图,发日志
-
麻烦再问一个问题,就是有没有什么办法在发送内容之后获得自己发出去的这个漂流瓶的id
-