George Carlin profanity filter

This commit is contained in:
craigerl 2020-12-05 12:50:08 -08:00
parent cf73add2db
commit 3ae7a056b6
1 changed files with 2 additions and 0 deletions

View File

@ -500,6 +500,8 @@ def send_message(tocall, message):
# 67 displays 64 on the ftm400. (+3 {01 suffix)
# feature req: break long ones into two msgs
message = message[:67]
# We all miss George Carlin
message = re.sub('fuck|shit|cunt|piss|cock|bitch', '****', message)
thread = threading.Thread(
target=send_message_thread,
name="send_message",