Skip to content

Commit

Permalink
feat: 关闭审核开关后 #重发 命令不生效 (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed May 7, 2024
1 parent cc87227 commit fdbfee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion campux/imbot/nbmod.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ async def is_review_allow(event: Event):
reject_post = on_command("拒绝", rule=to_me() & is_group & is_review_allow, priority=10, block=True)

# 重发 <id>
resend_post = on_command("重发", rule=to_me() & is_group & is_review_allow, priority=10, block=True)
resend_post = on_command("重发", rule=to_me() & is_group, priority=10, block=True)

# 其他命令,发帮助信息
any_message_group = on_regex(r".*", rule=to_me() & is_group & is_review_allow, priority=100, block=True)
Expand Down

0 comments on commit fdbfee5

Please sign in to comment.