MCPcopy Index your code
hub / github.com/wechaty/python-wechaty / remove_plugin

Method remove_plugin

src/wechaty/plugin.py:778–783  ·  view source on GitHub ↗

remove plugin

(self, name: str)

Source from the content-addressed store, hash-verified

776 yield plugin
777
778 def remove_plugin(self, name: str) -> None:
779 """remove plugin"""
780 if name not in self._plugins:
781 raise WechatyPluginError(f'plugin {name} not exist')
782 self._plugins.pop(name)
783 self._plugin_status.pop(name)
784
785 def _check_plugins(self, name: str) -> None:
786 """

Callers

nothing calls this directly

Calls 1

WechatyPluginErrorClass · 0.85

Tested by

no test coverage detected