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
如图,mirai2.15.0在该事件中的operator为null时代表操作者是bot,但转为overflow后该特性似乎丢失了
目前的实际现象是现在即使我是被机器人禁言的,也会触发后续步骤而不会return
(也有极小概率是mirai2.16.0新增的特性变动,但更新内容中没有,应该不是)
在对该事件的监听中加入代码:
val operator = operator ?: return //确保操作人不是bot //后续操作...
而后让bot禁言一个人,观察后续操作是否执行可以推断是否return
1.0.3
No response
应该用不到
The text was updated successfully, but these errors were encountered:
use null operator if operator is bot
7b69413
#130
No branches or pull requests
问题描述
如图,mirai2.15.0在该事件中的operator为null时代表操作者是bot,但转为overflow后该特性似乎丢失了
目前的实际现象是现在即使我是被机器人禁言的,也会触发后续步骤而不会return
(也有极小概率是mirai2.16.0新增的特性变动,但更新内容中没有,应该不是)
复现
在对该事件的监听中加入代码:
而后让bot禁言一个人,观察后续操作是否执行可以推断是否return
Overflow 版本
1.0.3
其他组件版本
No response
系统日志
网络日志
补充信息
No response
The text was updated successfully, but these errors were encountered: