mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-27 08:11:38 +00:00
Remove a useless parameter
This commit is contained in:
@ -51,8 +51,7 @@ class NoneBot(CQHttp):
|
|||||||
kwargs['debug'] = self.config.DEBUG
|
kwargs['debug'] = self.config.DEBUG
|
||||||
|
|
||||||
logger.info(f'Running on {host}:{port}')
|
logger.info(f'Running on {host}:{port}')
|
||||||
super().run(host=host, port=port, loop=asyncio.get_event_loop(),
|
super().run(host=host, port=port, *args, **kwargs)
|
||||||
*args, **kwargs)
|
|
||||||
|
|
||||||
|
|
||||||
_bot: Optional[NoneBot] = None
|
_bot: Optional[NoneBot] = None
|
||||||
|
Reference in New Issue
Block a user