From f31f920137e404f0b01088cb6e29dc82c1cda2c3 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sun, 1 Sep 2024 00:43:20 -0700 Subject: [PATCH] Update system.py --- modules/system.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/system.py b/modules/system.py index 552a9e8..751f979 100644 --- a/modules/system.py +++ b/modules/system.py @@ -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: