Him188
Him188
https://github.com/mamoe/mirai-console/issues/191
在 commonMain 依赖 mirai-core-api 时, 因为 mirai-core-api 没有依赖 ktor, 使用 ExternalResource.use 就会编译错误.  ---- 在 JVM 实现 ExternalResource 时, 因为 Input 被 relocate 或一些其他原因, 用户看到的类型可能并不正确. 即使正确, 那也会是 `net.mamoe.mirai.internal.io.ktor.xxx`, 要考虑用户是否能正常使用各种补全 (例如...
需要这个功能的场景是,在很多情况下,我希望 bot 可以维护群内的群昵称不发生改变或者符合某种格式 我希望 bot 可以及时探测到群昵称的变化,或者可以周期性地主动探测这种变化(如果开销比较大) 毕竟等某个人发言或者重启 bot,花费的时间肯定远超于向服务器索取刷新,当然更重要的是重启 bot 无法仅通过 MAH 操作,不然也是一种可接受的解决方案。 _Originally posted by @LenorEric in https://github.com/mamoe/mirai/issues/2404#issuecomment-1363347867_
branch: 2.15.0-RC bddee1fd2032a00718c794a020239b38d9b3abc4 ```kotlin Exception in thread "main" net.mamoe.mirai.internal.network.auth.ProducerFailureException at net.mamoe.mirai.internal.network.auth.CoroutineOnDemandValueScope.receiveOrNull(CoroutineOnDemandValueScope.kt:152) at net.mamoe.mirai.internal.network.auth.AuthControl.acquireAuth(AuthControl.kt:98) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:219) at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Suppressed:...
支持插件审核
**你想添加的新功能** API 获取剧集评论列表(吐槽箱), 最好还能有发送评论 **你希望的解决方案** - `GET /episodes/{episodeId}/comments` 返回 paged - `POST /episodes/{episodeId}/comments` - `GET /comments/{commentId}` 返回 detail - `DELETE /comments/{commentId}` - `GET /comments/{commentId}/reactions` 获取评论的表情 - `POST /comments/{commentId}/reactions` 给别人的评论发一个表情 ...