删除base_plugins文件夹,迁移到plugins文件夹下,更改models中的init文件和message文件
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
定义了 MessageSegment 类,用于封装 OneBot 11 的消息段。
|
||||
"""
|
||||
|
||||
from dataclasses import dataclass
|
||||
from typing import Any, Dict
|
||||
|
||||
@@ -56,7 +57,7 @@ class MessageSegment:
|
||||
# --- 快捷构造方法 ---
|
||||
|
||||
@staticmethod
|
||||
def text(text: str) -> "MessageSegment":
|
||||
def text(text: str) -> "MessageSegment": # noqa: F811
|
||||
"""
|
||||
构造文本消息段
|
||||
|
||||
|
||||
Reference in New Issue
Block a user