MCPcopy Index your code
hub / github.com/nonebot/nonebot2 / _module_name_to_plugin_name

Function _module_name_to_plugin_name

nonebot/plugin/__init__.py:61–62  ·  view source on GitHub ↗
(module_name: str)

Source from the content-addressed store, hash-verified

59
60
61def _module_name_to_plugin_name(module_name: str) -> str:
62 return module_name.rsplit(".", 1)[-1]
63
64
65def _controlled_modules() -> dict[str, str]:

Callers 2

_new_pluginFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected