mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-09-06 20:16:47 +00:00
Import context_id() to nonebot
module
This commit is contained in:
@ -110,6 +110,7 @@ from .natural_language import (on_natural_language, NLPSession, NLPResult,
|
|||||||
IntentCommand)
|
IntentCommand)
|
||||||
from .notice_request import (on_notice, NoticeSession,
|
from .notice_request import (on_notice, NoticeSession,
|
||||||
on_request, RequestSession)
|
on_request, RequestSession)
|
||||||
|
from .helpers import context_id
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
'NoneBot', 'scheduler', 'init', 'get_bot', 'run',
|
'NoneBot', 'scheduler', 'init', 'get_bot', 'run',
|
||||||
@ -120,4 +121,5 @@ __all__ = [
|
|||||||
'on_command', 'CommandSession', 'CommandGroup',
|
'on_command', 'CommandSession', 'CommandGroup',
|
||||||
'on_natural_language', 'NLPSession', 'NLPResult', 'IntentCommand',
|
'on_natural_language', 'NLPSession', 'NLPResult', 'IntentCommand',
|
||||||
'on_notice', 'NoticeSession', 'on_request', 'RequestSession',
|
'on_notice', 'NoticeSession', 'on_request', 'RequestSession',
|
||||||
|
'context_id',
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user