2024-08-21 17:59:21 +08:00
|
|
|
---
|
|
|
|
title: liteyuki.plugin
|
|
|
|
---
|
2024-08-29 14:19:39 +08:00
|
|
|
### *func* `get_loaded_plugins() -> dict[str, Plugin]`
|
2024-08-21 17:59:21 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
2024-08-29 14:19:39 +08:00
|
|
|
**Description**: 获取已加载的插件
|
|
|
|
|
|
|
|
**Return**: dict[str, Plugin]: 插件字典
|
2024-08-21 17:59:21 +08:00
|
|
|
|
|
|
|
|
|
|
|
<details>
|
2024-08-29 14:19:39 +08:00
|
|
|
<summary> <b>Source code</b> </summary>
|
2024-08-21 17:59:21 +08:00
|
|
|
|
|
|
|
```python
|
|
|
|
def get_loaded_plugins() -> dict[str, Plugin]:
|
|
|
|
"""
|
|
|
|
获取已加载的插件
|
|
|
|
Returns:
|
|
|
|
dict[str, Plugin]: 插件字典
|
|
|
|
"""
|
|
|
|
return _plugins
|
|
|
|
```
|
|
|
|
</details>
|
|
|
|
|