Merge branch 'dev' of https://github.com/MoFox-Studio/MoFox_Bot into dev
This commit is contained in:
@@ -299,6 +299,7 @@ class CycleProcessor:
|
|||||||
logger.info(f"{self.log_prefix} 正在执行文本回复...")
|
logger.info(f"{self.log_prefix} 正在执行文本回复...")
|
||||||
for action in reply_actions:
|
for action in reply_actions:
|
||||||
target_user_id = action.get("action_message",{}).get("chat_info_user_id","")
|
target_user_id = action.get("action_message",{}).get("chat_info_user_id","")
|
||||||
|
logger.info(action.get("action_message",{}))
|
||||||
if target_user_id == global_config.bot.qq_account and not global_config.chat.allow_reply_self:
|
if target_user_id == global_config.bot.qq_account and not global_config.chat.allow_reply_self:
|
||||||
logger.warning("选取的reply的目标为bot自己,跳过reply action")
|
logger.warning("选取的reply的目标为bot自己,跳过reply action")
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user