📝 Docs: 修改 QQ 频道为 QQ (#2457)

Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
This commit is contained in:
bingyue 2023-11-12 12:17:05 +08:00 committed by GitHub
parent b675d27a30
commit 363413e1e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,11 +120,11 @@ function HomeFeatures(): JSX.Element {
"import nonebot",
"# OneBot",
"from nonebot.adapters.onebot.v11 import Adapter as OneBotAdapter",
"# QQ 频道",
"from nonebot.adapters.qqguild import Adapter as QQGuildAdapter",
"# QQ 机器人",
"from nonebot.adapters.qq import Adapter as QQAdapter",
"driver = nonebot.get_driver()",
"driver.register_adapter(OneBotAdapter)",
"driver.register_adapter(QQGuildAdapter)",
"driver.register_adapter(QQAdapter)",
].join("\n")}
</CodeBlock>
</HomeFeatureDoubleColumn>