🤖 自动格式化代码 [skip ci]
This commit is contained in:
@@ -158,7 +158,7 @@ class BaseAction(ABC):
|
|||||||
content=text,
|
content=text,
|
||||||
platform=chat_stream.platform,
|
platform=chat_stream.platform,
|
||||||
target_id=str(chat_stream.group_info.group_id),
|
target_id=str(chat_stream.group_info.group_id),
|
||||||
is_group=True
|
is_group=True,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
# 私聊
|
# 私聊
|
||||||
@@ -167,8 +167,7 @@ class BaseAction(ABC):
|
|||||||
content=text,
|
content=text,
|
||||||
platform=chat_stream.platform,
|
platform=chat_stream.platform,
|
||||||
target_id=str(chat_stream.user_info.user_id),
|
target_id=str(chat_stream.user_info.user_id),
|
||||||
is_group=False
|
is_group=False,
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
async def send_command(self, command_name: str, args: dict = None, display_message: str = None) -> bool:
|
async def send_command(self, command_name: str, args: dict = None, display_message: str = None) -> bool:
|
||||||
|
|||||||
Reference in New Issue
Block a user