Bootstrap API Reference#

miru.bootstrap.install(bot: MiruAware) None[source]#

Install miru and pass the current running application to it. Starts listeners for custom miru events.

Parameters:

bot (MiruAware) – The currently running application. Must implement traits RESTAware and EventManagerAware.

Raises:
miru.bootstrap.uninstall() None[source]#

Uninstall miru and remove the current running application from it. Stops listeners for custom miru events.

Warning

Unbound persistent views should be stopped manually.