MCPcopy
hub / github.com/wechaty/python-wechaty / start_plugin

Method start_plugin

src/wechaty/plugin.py:802–807  ·  view source on GitHub ↗

starting the plugin

(self, name: str)

Source from the content-addressed store, hash-verified

800 await self._plugins[name].on_stoped()
801
802 async def start_plugin(self, name: str) -> None:
803 """starting the plugin"""
804 log.info('starting the plugin <%s>', name)
805 self._check_plugins(name)
806 self._plugin_status[name] = PluginStatus.Running
807 await self._plugins[name].on_running()
808
809 def plugin_status(self, name: str) -> PluginStatus:
810 """get the plugin status"""

Callers 1

change_statusMethod · 0.95

Calls 2

_check_pluginsMethod · 0.95
on_runningMethod · 0.80

Tested by

no test coverage detected