mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-03 16:31:17 +02:00
Update system.py
This commit is contained in:
@@ -510,6 +510,8 @@ 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:
|
||||
|
||||
Reference in New Issue
Block a user