mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-02-13 04:19:59 +08:00
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 24.4.2 → 25.1.0](https://github.com/psf/black/compare/24.4.2...25.1.0) - https://github.com/timothycrosley/isort → https://github.com/PyCQA/isort - [github.com/PyCQA/isort: 5.13.2 → 6.0.0](https://github.com/PyCQA/isort/compare/5.13.2...6.0.0) - [github.com/pre-commit/mirrors-mypy: v1.13.0 → v1.15.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.13.0...v1.15.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
20 lines
408 B
Python
20 lines
408 B
Python
"""该入口文件仅在nb run无法正常工作时使用"""
|
|
|
|
import nonebot
|
|
from nonebot import get_driver
|
|
from nonebot.adapters.onebot.v11 import Adapter
|
|
from nonebot.plugin import load_plugin
|
|
|
|
nonebot.init()
|
|
load_plugin("nonebot_plugin_marshoai")
|
|
|
|
driver = get_driver()
|
|
driver.register_adapter(Adapter)
|
|
|
|
if __name__ == "__main__":
|
|
nonebot.run()
|
|
|
|
# 这是猫娘写的代码
|
|
|
|
# 这是猫娘写的代码
|