🔥 移除无用代码

This commit is contained in:
KimigaiiWuyi 2024-10-10 19:32:47 +08:00
parent 08f551609a
commit df2cb4a89b

View File

@ -68,7 +68,7 @@ class Trigger:
return False
def _check_fullmatch(self, keyword: str, msg: str) -> bool:
print(f'{keyword}{self.prefix}')
print(f'{self.prefix}{keyword}')
if msg == f'{self.prefix}{keyword}' and msg.startswith(self.prefix):
return True
return False