diff --git a/server.py b/server.py index b2cafef..5dac0e8 100644 --- a/server.py +++ b/server.py @@ -36,8 +36,8 @@ def save_data(file_path, data): ] -def check_chatfilter(input_str: str, badwords, goodwords): - threshold: int = 1 if len(input_str) < 50 else 2 +def check_chatfilter(input_str: str, badwords, goodwords, cid: int, gid: int): + threshold: int = 1 if len(input_str) < 150 else 2 input_data = input_str.lower().split() for word in input_data: