mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-09-09 11:13:26 +08:00
Update utils.py
This commit is contained in:
@@ -70,6 +70,7 @@ def player_won(text):
|
||||
"live happily ever after",
|
||||
"(you)? live (forever|eternally|for eternity)",
|
||||
"you (are|become|turn into) (a)? (deity|god)",
|
||||
"you ((go|get) (in)?to|arrive (at|in)) (heaven|paradise)",
|
||||
]
|
||||
return any(re.search(regexp, lower_text) for regexp in won_phrases)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user