diff --git a/src/chat/replyer/default_generator.py b/src/chat/replyer/default_generator.py index b6afecf64..546a3be78 100644 --- a/src/chat/replyer/default_generator.py +++ b/src/chat/replyer/default_generator.py @@ -394,7 +394,7 @@ class DefaultReplyer: return memory_block - async def _parse_reply_target(self, target_message: str) -> tuple: + def _parse_reply_target(self, target_message: str) -> tuple: sender = "" target = "" if ":" in target_message or ":" in target_message: diff --git a/src/plugin_system/base/base_action.py b/src/plugin_system/base/base_action.py index c36af7b07..a68091b96 100644 --- a/src/plugin_system/base/base_action.py +++ b/src/plugin_system/base/base_action.py @@ -108,8 +108,6 @@ class BaseAction(ABC): # print(self.chat_stream.group_info) if self.chat_stream.group_info: self.is_group = True - self.user_id = str(self.chat_stream.user_info.user_id) - self.user_nickname = getattr(self.chat_stream.user_info, "user_nickname", None) self.group_id = str(self.chat_stream.group_info.group_id) self.group_name = getattr(self.chat_stream.group_info, "group_name", None) else: