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:
BootstrapFailureError – miru is already loaded
TypeError – Parameter bot does not have traits specified in MiruAware