Improve code docs

This commit is contained in:
Richard Chien
2018-07-01 20:01:05 +08:00
parent 6ec3ac66f7
commit 026d83e507
9 changed files with 100 additions and 39 deletions

View File

@ -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}')