mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-12-02 15:54:44 +08:00
30 lines
439 B
Markdown
30 lines
439 B
Markdown
|
---
|
||
|
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>
|
||
|
|