MCPcopy Index your code
hub / github.com/nonebot/nonebot2 / load_builtin_plugin

Function load_builtin_plugin

nonebot/plugin/load.py:161–167  ·  view source on GitHub ↗

导入 NoneBot 内置插件。 参数: name: 插件名称

(name: str)

Source from the content-addressed store, hash-verified

159
160
161def load_builtin_plugin(name: str) -> Plugin | None:
162 """导入 NoneBot 内置插件。
163
164 参数:
165 name: 插件名称
166 """
167 return load_plugin(f"nonebot.plugins.{name}")
168
169
170def load_builtin_plugins(*plugins: str) -> set[Plugin]:

Callers

nothing calls this directly

Calls 1

load_pluginFunction · 0.70

Tested by

no test coverage detected