project-mirai / mirai-api-http

Mirai HTTP API (console) plugin
GNU Affero General Public License v3.0
1.65k stars 345 forks source link

提供持久化的消息缓存 #579

Closed Wybxc closed 11 months ago

Wybxc commented 2 years ago

现在的消息缓存全部在内存中,重启之后就会消失。

能否考虑增加持久化缓存的可选项,将消息缓存保存到数据库中?

cssxsh commented 2 years ago

给我的消息持久化插件 https://github.com/cssxsh/mirai-hibernate-plugin 写了个 http 扩展 https://github.com/cssxsh/mirai-hibernate-http

路由和返回值有待优化

ryoii commented 11 months ago

由第三方提供