Skip to content

Commit

Permalink
Merge pull request #102 from AmiyaBot/dev
Browse files Browse the repository at this point in the history
fix: 修复 BUG
  • Loading branch information
vivien8261 authored Jul 1, 2024
2 parents 63af1df + e482f7b commit 7a1c209
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion amiyabot/factory/implemented.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ def func():
def restore_data(cls, result: Verify, data: Message):
if result.on_selected:
result.on_selected()
yield
yield
if result.on_selected:
data.text_prefix = ''
data.set_text(data.text_original, set_original=False)

Expand Down

0 comments on commit 7a1c209

Please sign in to comment.