MCPcopy
hub / github.com/AstrBotDevs/AstrBot / get_astrbot_plugin_path

Function get_astrbot_plugin_path

astrbot/core/utils/astrbot_path.py:48–50  ·  view source on GitHub ↗

Return the AstrBot plugin directory path.

()

Source from the content-addressed store, hash-verified

46
47
48def get_astrbot_plugin_path() -> str:
49 """Return the AstrBot plugin directory path."""
50 return os.path.realpath(os.path.join(get_astrbot_data_path(), "plugins"))
51
52
53def get_astrbot_plugin_data_path() -> str:

Callers 6

check_envFunction · 0.90
_plugin_skill_rootsFunction · 0.90
__init__Method · 0.90
__init__Method · 0.90
get_backup_directoriesFunction · 0.90
__init__Method · 0.90

Calls 1

get_astrbot_data_pathFunction · 0.85

Tested by

no test coverage detected