fix: 过滤词测试

This commit is contained in:
tcmofashi
2025-03-04 09:32:44 +08:00
parent 16cbaeefdb
commit 970f18daf1
2 changed files with 2 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ class ChatBot:
# 过滤词
for word in global_config.ban_words:
if word in message.detailed_plain_text:
print(f"\033[1;32m[{current_time}][{message.group_name}]{message.user_nickname}:\033[0m {message.processed_plain_text}")
print(f"\033[1;32m[{message.group_name}]{message.user_nickname}:\033[0m {message.processed_plain_text}")
print(f"\033[1;32m[过滤词识别]\033[0m 消息中含有{word}filtered")
return