fix:修复无法运行的bug
This commit is contained in:
@@ -394,7 +394,7 @@ class DefaultReplyer:
|
|||||||
|
|
||||||
return memory_block
|
return memory_block
|
||||||
|
|
||||||
async def _parse_reply_target(self, target_message: str) -> tuple:
|
def _parse_reply_target(self, target_message: str) -> tuple:
|
||||||
sender = ""
|
sender = ""
|
||||||
target = ""
|
target = ""
|
||||||
if ":" in target_message or ":" in target_message:
|
if ":" in target_message or ":" in target_message:
|
||||||
|
|||||||
@@ -108,8 +108,6 @@ class BaseAction(ABC):
|
|||||||
# print(self.chat_stream.group_info)
|
# print(self.chat_stream.group_info)
|
||||||
if self.chat_stream.group_info:
|
if self.chat_stream.group_info:
|
||||||
self.is_group = True
|
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_id = str(self.chat_stream.group_info.group_id)
|
||||||
self.group_name = getattr(self.chat_stream.group_info, "group_name", None)
|
self.group_name = getattr(self.chat_stream.group_info, "group_name", None)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user