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
机器人由于被挤下线之后,触发监听事件,参照autoRelogin中间件的方法,重新登录之后,仍然无法正常运作
The text was updated successfully, but these errors were encountered:
同。
Sorry, something went wrong.
该中间件依赖于 Bot.sendCommand 接口,而 mirai-api-http 的 /sendCommand 接口在 v2 中的行为有所改变, 它要求提供一个 sessionKey,即我们需要先建立一个有效会话,才能调用该接口。
Bot.sendCommand
如果会话已经失效,就无法正常使用该接口,从而令中间件失效。
我会做些测试,可能会在之后移除该 API。
Drincann
No branches or pull requests
机器人由于被挤下线之后,触发监听事件,参照autoRelogin中间件的方法,重新登录之后,仍然无法正常运作
The text was updated successfully, but these errors were encountered: