kenken999 commited on
Commit
d67229c
1 Parent(s): 55c5b58
Files changed (1) hide show
  1. routers/webhook.py +1 -1
routers/webhook.py CHANGED
@@ -152,7 +152,7 @@ async def webhook(request: Request):
152
  #return
153
  #test case
154
  #########################################################################
155
- if message not in ["璨峰彇鏂规硶", "鍙栨壉鍟嗗搧","鏈棩銇噾渚℃牸"]:
156
  print("start reply -----------------------------------------------"+reply_token)
157
  first_line = text.split('\n')[0]
158
  # test_prompt
 
152
  #return
153
  #test case
154
  #########################################################################
155
+ if any(substring in message for substring in ["璨峰彇鏂规硶", "鍙栨壉鍟嗗搧", "鏈棩銇噾渚℃牸"]):
156
  print("start reply -----------------------------------------------"+reply_token)
157
  first_line = text.split('\n')[0]
158
  # test_prompt