mirror of https://github.com/Mai-with-u/MaiBot.git
48 lines
928 B
Python
48 lines
928 B
Python
"""
|
|
插件基础类模块
|
|
|
|
提供插件开发的基础类和类型定义
|
|
"""
|
|
|
|
from .base_plugin import BasePlugin
|
|
from .base_action import BaseAction
|
|
from .base_tool import BaseTool
|
|
from .base_command import BaseCommand
|
|
from .base_events_handler import BaseEventHandler
|
|
from .component_types import (
|
|
ComponentType,
|
|
ActionActivationType,
|
|
ChatMode,
|
|
ComponentInfo,
|
|
ActionInfo,
|
|
CommandInfo,
|
|
ToolInfo,
|
|
PluginInfo,
|
|
PythonDependency,
|
|
EventHandlerInfo,
|
|
EventType,
|
|
MaiMessages,
|
|
)
|
|
from .config_types import ConfigField
|
|
|
|
__all__ = [
|
|
"BasePlugin",
|
|
"BaseAction",
|
|
"BaseCommand",
|
|
"BaseTool",
|
|
"ComponentType",
|
|
"ActionActivationType",
|
|
"ChatMode",
|
|
"ComponentInfo",
|
|
"ActionInfo",
|
|
"CommandInfo",
|
|
"ToolInfo",
|
|
"PluginInfo",
|
|
"PythonDependency",
|
|
"ConfigField",
|
|
"EventHandlerInfo",
|
|
"EventType",
|
|
"BaseEventHandler",
|
|
"MaiMessages",
|
|
]
|