def run(self, host: str = '0.0.0.0', port: int = 8080):
"""
Start sirbot
Configure sirbot and start the aiohttp.web.Application
Args:
host (str): host
port (int): port
"""
self._loop.run_until_complete(self._configure_plugins())
web.run_app(self._app, host=host, port=port) # pragma: no cover
评论列表
文章目录