fix: #6 #7 prefix match bug, python version, config template

This commit is contained in:
zhayujie
2022-12-20 16:32:05 +08:00
parent d45b8000dc
commit 3a7400a7ae
3 changed files with 3 additions and 3 deletions

View File

@@ -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