You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.
建议给AutoSavePluginConfig添加一个实时写出的选择,因为开发调试插件时数据变动非常频繁,而对应的配置文件又不会实时变过来,调试起来怪麻烦的,我只得自己用FileInputStream另外实现一套实时写出的方案。
可能有时候读写配置文件的性能开销不那么重要,建议添加参数来让开发者选择是否实时写出配置文件,或者显式调用对应的方法手动写出也可以
已解决:
根据文档中的描述,AutoSavePluginConfig会在后台利用协程定时保存数据。但是有些小问题/小建议我想要说一下,如果修改数据后立即使用/stop
关闭mirai-console,数据会无法保存,会导致刚刚修改的内容丢失,建议在关闭时等一下协程,保存好数据以后再继续关闭流程The text was updated successfully, but these errors were encountered: