Import context_id() to nonebot module

This commit is contained in:
Richard Chien 2019-01-24 22:33:41 +08:00
parent 322852d4cf
commit 41803be7d8

View File

@ -110,6 +110,7 @@ from .natural_language import (on_natural_language, NLPSession, NLPResult,
IntentCommand)
from .notice_request import (on_notice, NoticeSession,
on_request, RequestSession)
from .helpers import context_id
__all__ = [
'NoneBot', 'scheduler', 'init', 'get_bot', 'run',
@ -120,4 +121,5 @@ __all__ = [
'on_command', 'CommandSession', 'CommandGroup',
'on_natural_language', 'NLPSession', 'NLPResult', 'IntentCommand',
'on_notice', 'NoticeSession', 'on_request', 'RequestSession',
'context_id',
]