mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2025-07-30 21:39:51 +00:00
🐛 修复npm无法显示的问题
This commit is contained in:
29
docs/en/dev/api/plugin/README.md
Normal file
29
docs/en/dev/api/plugin/README.md
Normal file
@ -0,0 +1,29 @@
|
||||
---
|
||||
title: liteyuki.plugin
|
||||
index: true
|
||||
icon: laptop-code
|
||||
category: API
|
||||
---
|
||||
|
||||
### ***def*** `get_loaded_plugins() -> dict[str, Plugin]`
|
||||
|
||||
获取已加载的插件
|
||||
|
||||
Returns:
|
||||
|
||||
dict[str, Plugin]: 插件字典
|
||||
|
||||
<details>
|
||||
<summary>源代码</summary>
|
||||
|
||||
```python
|
||||
def get_loaded_plugins() -> dict[str, Plugin]:
|
||||
"""
|
||||
获取已加载的插件
|
||||
Returns:
|
||||
dict[str, Plugin]: 插件字典
|
||||
"""
|
||||
return _plugins
|
||||
```
|
||||
</details>
|
||||
|
Reference in New Issue
Block a user