mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-19 21:07:28 +08:00
@@ -149,6 +149,6 @@ class WechatChannel(Channel):
|
||||
|
||||
def check_prefix(self, content, prefix_list):
|
||||
for prefix in prefix_list:
|
||||
if content.lower().startswith(prefix):
|
||||
if content.lower().startswith(prefix.lower()):
|
||||
return prefix
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user