refactor: 将多个方法修改为静态方法以提高代码可读性和一致性
This commit is contained in:
@@ -15,9 +15,9 @@ class DirectMessageSender:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
@staticmethod
|
||||
async def send_message(
|
||||
self,
|
||||
chat_stream: ChatStream,
|
||||
chat_stream: ChatStream,
|
||||
content: str,
|
||||
reply_to_message: Optional[Message] = None,
|
||||
) -> None:
|
||||
|
||||
Reference in New Issue
Block a user