Him188

Results 151 issues of Him188

https://github.com/mamoe/mirai-console/issues/191

bug

在 commonMain 依赖 mirai-core-api 时, 因为 mirai-core-api 没有依赖 ktor, 使用 ExternalResource.use 就会编译错误. ![image](https://user-images.githubusercontent.com/12100985/191295266-04af8563-0408-438e-8a79-d80aaa6372dc.png) ---- 在 JVM 实现 ExternalResource 时, 因为 Input 被 relocate 或一些其他原因, 用户看到的类型可能并不正确. 即使正确, 那也会是 `net.mamoe.mirai.internal.io.ktor.xxx`, 要考虑用户是否能正常使用各种补全 (例如...

M
t:problem
s:core

可以考虑支持(在 BotConfiguration 由用户选择)。 可以帮助消息撤回事件的原消息定位,也可以允许使用 id 获取消息。

t:feature
N
s:core

需要这个功能的场景是,在很多情况下,我希望 bot 可以维护群内的群昵称不发生改变或者符合某种格式 我希望 bot 可以及时探测到群昵称的变化,或者可以周期性地主动探测这种变化(如果开销比较大) 毕竟等某个人发言或者重启 bot,花费的时间肯定远超于向服务器索取刷新,当然更重要的是重启 bot 无法仅通过 MAH 操作,不然也是一种可接受的解决方案。 _Originally posted by @LenorEric in https://github.com/mamoe/mirai/issues/2404#issuecomment-1363347867_

N
t:problem
s:core

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:...

s:core

还没写完, 现在只是原型

t:enhancement
s:core

**你想添加的新功能** 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` 给别人的评论发一个表情 ![image](https://github.com/bangumi/server/assets/12100985/e12e377d-3d7d-43d5-8082-da808b9fe8b6)...

enhancement