750a93a1aa
但仍然使用其对 OneBot 的数据格式封装。
16 lines
707 B
Python
16 lines
707 B
Python
|
|
from astrbot.core.plugin import Context
|
|
from astrbot.core.platform import AstrMessageEvent, Platform, AstrBotMessage, MessageMember, MessageType, PlatformMetadata
|
|
from astrbot.core.message.message_event_result import MessageEventResult, MessageChain, CommandResult
|
|
from astrbot.core.provider import Provider, Personality
|
|
from astrbot.core.config.astrbot_config import AstrBotConfig
|
|
from astrbot import logger
|
|
from astrbot.core.utils.personality import personalities
|
|
|
|
from astrbot.core.utils.command_parser import CommandParser, CommandTokens
|
|
from astrbot.core.utils.func_call import FuncCall
|
|
from astrbot.core import html_renderer
|
|
|
|
from astrbot.core.plugin.config import *
|
|
|
|
command_parser = CommandParser() |