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
当bot在执行recall的时候并且权限不足的时候,会报错
Recv: Failed(result=1001, errorMessage=No message meets the requirements)
并抛出IllegalStateException而不是PermissionDeniedException 相关日志:
IllegalStateException
PermissionDeniedException
2021-04-08 07:53:25 V/Bot 692928873: [JM、Eritque ar...(788*****)] Eritque arcus(193*******) -> c 2021-04-08 07:53:25 V/Net 692928873: Send: PbMessageSvc.PbMsgWithDraw 2021-04-08 07:53:25 V/Net 692928873: Recv: Failed(result=1001, errorMessage=No message meets the requirements) 2021-04-08 07:53:25 E/Bot 692928873: 该消息已被撤回 2021-04-08 07:53:28 V/Bot 692928873: [JM、Eritque ar...(788*****)] Eritque arcus(193*******) -> a 2021-04-08 07:53:28 V/Net 692928873: Send: PbMessageSvc.PbMsgWithDraw 2021-04-08 07:53:28 V/Net 692928873: Recv: Failed(result=1001, errorMessage=No message meets the requirements) 2021-04-08 07:53:28 E/Bot 692928873: 该消息已被撤回
2.5.0
确认是管理员?
如果不是管理员,也就是说无权限撤回应该是进入try里面的PermissionDeniedException吧?
Originally posted by @Nambers in #1065 (reply in thread)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
当bot在执行recall的时候并且权限不足的时候,会报错
并抛出
IllegalStateException
而不是PermissionDeniedException
相关日志:
版本
2.5.0
补充信息
如果不是管理员,也就是说无权限撤回应该是进入try里面的PermissionDeniedException吧?
Originally posted by @Nambers in #1065 (reply in thread)
The text was updated successfully, but these errors were encountered: