MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    思知机器人插件

    插件发布
    7
    15
    1710
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      thetbw last edited by

      地址 https://github.com/thetbw/my-bot
      实例:

      说明:

      • 自动好友,群请求,同时向admin发送请求信息
      • 不支持图片
      • 群内需要@ta ,才会回你

      关于思知机器人

      https://www.ownthink.com/ 目前免费,还行吧

      1 Reply Last reply Reply Quote 0
      • X
        xsluck last edited by

        可以,下载试试看

        1 Reply Last reply Reply Quote 0
        • X
          xsluck last edited by

          404.......

          T 1 Reply Last reply Reply Quote 0
          • T
            thetbw @xsluck last edited by

            @xsluck 额,忘了我仓库没有公开,我改一下

            1 Reply Last reply Reply Quote 0
            • Z
              ZXT2333 last edited by

              IMG_0741.jpeg 插件闪退是怎么回事2.8.0RC版本

              T 1 Reply Last reply Reply Quote 0
              • W
                william-jw last edited by

                可以,还不错

                1 Reply Last reply Reply Quote 0
                • T
                  thetbw @ZXT2333 last edited by

                  @zxt2333 应该是配置文件命题,配置文件是yaml格式,确认一下,还有编码utf-8

                  Z 1 Reply Last reply Reply Quote 0
                  • Z
                    ZXT2333 @thetbw last edited by

                    @thetbw IMG_0754.png 还是不行

                    1 Reply Last reply Reply Quote 0
                    • 9
                      9mb-Project last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • 9
                        9mb-Project last edited by

                        2021-11-06 19:08:53 E/thetbw-bot: Exception in coroutine Plugin thetbw-bot of thetbw-bot
                        io.ktor.client.call.NoTransformationFoundException: No transformation found: class io.ktor.utils.io.ByteBufferChannel -> class xyz.thetbw.bot.OwnThinkBot$BotResp
                        with response from https://api.ownthink.com/bot:
                        status: 200 OK
                        response headers:
                        access-control-allow-origin: *
                        , connection: keep-alive
                        , content-type: text/html; charset=UTF-8
                        , date: Sat, 06 Nov 2021 11:08:52 GMT
                        , server: nginx
                        , strict-transport-security: max-age=31536000; includeSubDomains
                        , transfer-encoding: chunked

                            at io.ktor.client.call.HttpClientCall.receive(HttpClientCall.kt:92)
                            at xyz.thetbw.bot.OwnThinkBot.sendMessage(OwnThinkBot.kt:99)
                            at xyz.thetbw.bot.OwnThinkBot$sendMessage$1.invokeSuspend(OwnThinkBot.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 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)
                        
                        1 Reply Last reply Reply Quote 0
                        • 9
                          9mb-Project last edited by

                          请问这是什么回事,在群聊内@机器人时会出现这种情况,但私聊不会

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            thetbw @9mb-Project last edited by

                            @9mb-project 经常有还是偶尔有呢,应该是请求机器人时序列化的问题

                            1 Reply Last reply Reply Quote 0
                            • Z
                              ZhangJIE last edited by

                              QQ群@机器人查询天气的时候有问题,会返回一个错误的天气信息,应该是群内查询的时候机器人识别成了@XXX城市天气,api内找不到这个城市就乱返回了一个城市天气信息

                              1 Reply Last reply Reply Quote 0
                              • Z
                                ZhangJIE last edited by

                                @thetbw

                                1 Reply Last reply Reply Quote 0
                                • H
                                  HOLIC last edited by

                                  ![@{N)2VWGN]YJ{`_PTJ}~BLM.png](/assets/uploads/files/1649779348216-n-2vwgn-yj-96-_ptj-blm.png) 读取yml报错了是为啥

                                  1 Reply Last reply Reply Quote 0
                                  • 1 / 1
                                  • First post
                                    Last post
                                  Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact us