🔥 移除无用代码

This commit is contained in:
KimigaiiWuyi 2024-10-10 19:46:26 +08:00
parent df2cb4a89b
commit f36f8411d4

View File

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