mirror of https://github.com/Mai-with-u/MaiBot.git
Update bot.py
parent
d2bbf27729
commit
02086fa41d
|
|
@ -122,6 +122,9 @@ class ChatBot:
|
||||||
await relationship_manager.update_relationship_value(chat_stream=chat, relationship_value=0.5)
|
await relationship_manager.update_relationship_value(chat_stream=chat, relationship_value=0.5)
|
||||||
|
|
||||||
await message.process()
|
await message.process()
|
||||||
|
# 忽略图片处理
|
||||||
|
if message.is_ignore:
|
||||||
|
return
|
||||||
# 过滤词
|
# 过滤词
|
||||||
for word in global_config.ban_words:
|
for word in global_config.ban_words:
|
||||||
if word in message.processed_plain_text:
|
if word in message.processed_plain_text:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue