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