Skip to content
New issue

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

FileManager中的sessionKey()函数修正 #232

Open
zhaoluuu opened this issue Feb 22, 2023 · 1 comment
Open

FileManager中的sessionKey()函数修正 #232

zhaoluuu opened this issue Feb 22, 2023 · 1 comment

Comments

@zhaoluuu
Copy link

你好,尝试实例化FileManager时提示sessionKey() in not function 后翻阅源码应使用getSessionKey();
image
image

@Drincann
Copy link
Owner

@zhaoluuu 感谢。

不过目前 FileManager 的封装很可能无法正常使用,而且没有入口的提供类型声明,相关接口在 mirai-api-http 中应该已经有了不小的变化。

这部分计划在 v3 中完整支持,但目前来看还需要很长时间。所以如果你感兴趣的话,可以一起来做下 v2 的这部分的文件操作支持,v2 在 v2.x 分支上维护。

PR welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants