Skip to content

Commit

Permalink
fix: Fixed no response when confirming bind with @
Browse files Browse the repository at this point in the history
  • Loading branch information
Starlwr committed Aug 8, 2023
1 parent d066e86 commit 5792f79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion starbot/commands/builtin/data/bind.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ async def waiter(wait_source: Source,
if wait_qq == qq:
nonlocal source
source = wait_source
if wait_msg.display == f"{prefix}确认绑定" or wait_msg.display == f"{prefix}确定绑定":
msg = wait_msg.exclude(At).display.removeprefix(prefix).strip()
if msg == "确认绑定" or msg == "确定绑定":
return True
else:
return False
Expand Down

0 comments on commit 5792f79

Please sign in to comment.