Update system.py

This commit is contained in:
SpudGunMan
2024-09-01 01:04:47 -07:00
parent 8e35d77e07
commit 70f47635b4
-2
View File
@@ -510,8 +510,6 @@ def get_wikipedia_summary(search_term):
def messageTrap(msg):
# Check if the message contains a trap word
if "wiki:" in msg or "ask:" in msg:
return True
message_list=msg.split(" ")
for m in message_list:
for t in trap_list: