mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-27 16:21:28 +00:00
Improve code docs
This commit is contained in:
@ -82,7 +82,7 @@ async def handle_notice_or_request(bot: CQHttp, ctx: Dict[str, Any]) -> None:
|
||||
|
||||
if post_type == 'notice':
|
||||
session = NoticeSession(bot, ctx)
|
||||
else:
|
||||
else: # must be 'request'
|
||||
session = RequestSession(bot, ctx)
|
||||
|
||||
logger.debug(f'Emitting event: {event}')
|
||||
|
Reference in New Issue
Block a user