思知机器人插件
-
地址 https://github.com/thetbw/my-bot
实例:
说明:
- 自动好友,群请求,同时向admin发送请求信息
- 不支持图片
- 群内需要@ta ,才会回你
关于思知机器人
https://www.ownthink.com/ 目前免费,还行吧
-
可以,下载试试看
-
404.......
-
@xsluck 额,忘了我仓库没有公开,我改一下
-
插件闪退是怎么回事2.8.0RC版本
-
可以,还不错
-
@zxt2333 应该是配置文件命题,配置文件是yaml格式,确认一下,还有编码utf-8
-
@thetbw
还是不行
-
This post is deleted! -
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: chunkedat 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)
-
请问这是什么回事,在群聊内@机器人时会出现这种情况,但私聊不会
-
@9mb-project 经常有还是偶尔有呢,应该是请求机器人时序列化的问题
-
QQ群@机器人查询天气的时候有问题,会返回一个错误的天气信息,应该是群内查询的时候机器人识别成了@XXX城市天气,api内找不到这个城市就乱返回了一个城市天气信息
-
-
![@{N)2VWGN]YJ{`_PTJ}~BLM.png](/assets/uploads/files/1649779348216-n-2vwgn-yj-96-_ptj-blm.png) 读取yml报错了是为啥