We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
由于懒得装数据库,我就试了一下 memory 数据库,但是每次机器人重启后数据就丢失了。
koishi/plugins/database/memory/src/storage/node.ts
Lines 27 to 29 in d1508f2
这里我通过调试发现 extension 的值是 ".json",而因为 loader 是 "json",所以程序认为扩展名不匹配,跳过了加载。
extension
".json"
loader
"json"
The text was updated successfully, but these errors were encountered:
开了个小pr(
本人经验少,请多指教(×
Sorry, something went wrong.
fix(memory): storage not working, fix #519 (#520)
be0cbfe
34aad76
No branches or pull requests
由于懒得装数据库,我就试了一下 memory 数据库,但是每次机器人重启后数据就丢失了。
koishi/plugins/database/memory/src/storage/node.ts
Lines 27 to 29 in d1508f2
这里我通过调试发现
extension
的值是".json"
,而因为loader
是"json"
,所以程序认为扩展名不匹配,跳过了加载。The text was updated successfully, but these errors were encountered: