Remove a useless parameter

This commit is contained in:
Richard Chien 2019-02-02 21:22:14 +08:00
parent 6857d0d2df
commit bfba4d1bd4

View File

@ -51,8 +51,7 @@ class NoneBot(CQHttp):
kwargs['debug'] = self.config.DEBUG
logger.info(f'Running on {host}:{port}')
super().run(host=host, port=port, loop=asyncio.get_event_loop(),
*args, **kwargs)
super().run(host=host, port=port, *args, **kwargs)
_bot: Optional[NoneBot] = None