MiraiForum

    • 注册
    • 登录
    • 搜索
    • 热门
    • 最新
    • 未解决
    • 标签
    • 群组
    • 友情链接
    1. 主页
    2. lower_bound
    L
    • 资料
    • 关注 0
    • 粉丝 0
    • 主题 1
    • 帖子 8
    • 最佳 0
    • 有争议的 0
    • 群组 0

    lower_bound

    @lower_bound

    0
    声望
    1
    资料浏览
    8
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    lower_bound 取消关注 关注

    lower_bound 发布的最新帖子

    • RE: 【涩图插件喜加一】mirai-console-lolicon

      请问可以禁用私聊吗,因为权限不走mirai自带的,不知道怎么禁用私聊,因为总是有人会私聊bot拿涩图,大大增加风险

      发布在 插件发布
      L
      lower_bound
    • 问问有没有啥好用的微信机器人框架啊?

      如题,虽然我一般用QQ,但比较好奇有没有啥比较好的微信机器人框架

      发布在 摸鱼区
      L
      lower_bound
    • RE: Drift Bottle 漂流瓶插件

      @Samarium150 哦感谢,非常不好意思,不知道为什么今天整个重装了一次以后审核就可以用了,不知道是什么原因,总之问题解决了,不好意思占用您时间了

      发布在 插件发布
      L
      lower_bound
    • RE: Drift Bottle 漂流瓶插件

      @Samarium150 您好,我输入的secret_key只是为了防止别人拿走,中间删除了一点,实际上两个长度都是对的,不好意思

      发布在 插件发布
      L
      lower_bound
    • 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)
      
      
      发布在 插件发布
      L
      lower_bound
    • RE: Drift Bottle 漂流瓶插件

      @lower_bound 我把内容审核打开了,但是没有成功进行审核,百度那边调用显示是0次,应该怎么改啊?

      发布在 插件发布
      L
      lower_bound
    • RE: Drift Bottle 漂流瓶插件

      是否启用内容审核

      enableContentCensor: true

      API_KEY: ZCdrYMmEsgQ4l6X9
      SECRET_KEY: LuL2DEdcuLDf5OamnH0p
      截屏2022-04-12 17.23.46.png

      发布在 插件发布
      L
      lower_bound