mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-12-18 17:35:46 +08:00
25 lines
742 B
Python
25 lines
742 B
Python
"""本模块定义了协议适配基类,各协议请继承以下基类。
|
|
|
|
使用 {ref}`nonebot.drivers.Driver.register_adapter` 注册适配器。
|
|
|
|
FrontMatter:
|
|
sidebar_position: 0
|
|
description: nonebot.adapters 模块
|
|
"""
|
|
|
|
from nonebot.internal.adapter import Bot as Bot
|
|
from nonebot.internal.adapter import Event as Event
|
|
from nonebot.internal.adapter import Adapter as Adapter
|
|
from nonebot.internal.adapter import Message as Message
|
|
from nonebot.internal.adapter import MessageSegment as MessageSegment
|
|
from nonebot.internal.adapter import MessageTemplate as MessageTemplate
|
|
|
|
__autodoc__ = {
|
|
"Bot": True,
|
|
"Event": True,
|
|
"Adapter": True,
|
|
"Message": True,
|
|
"MessageSegment": True,
|
|
"MessageTemplate": True,
|
|
}
|