mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-28 00:31:14 +00:00
Rename package to "nonebot"
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
from aiocqhttp import Error as CQHttpError
|
||||
|
||||
from none import on_notice, NoticeSession, on_request, RequestSession
|
||||
from none.helpers import render_expression as __
|
||||
from nonebot import on_notice, NoticeSession, on_request, RequestSession
|
||||
from nonebot.helpers import render_expression as __
|
||||
|
||||
GROUP_GREETING = (
|
||||
'欢迎新同学 {name}[]![CQ:face,id=63][CQ:face,id=63][CQ:face,id=63]',
|
||||
|
@ -1,4 +1,4 @@
|
||||
from none import on_natural_language, NLPSession, NLPResult
|
||||
from nonebot import on_natural_language, NLPSession, NLPResult
|
||||
|
||||
_last_session = None
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
from none import (
|
||||
from nonebot import (
|
||||
on_command, CommandSession,
|
||||
on_natural_language, NLPSession, NLPResult
|
||||
)
|
||||
|
@ -1,8 +1,8 @@
|
||||
from none import (
|
||||
from nonebot import (
|
||||
CommandSession, CommandGroup,
|
||||
on_natural_language, NLPSession, NLPResult
|
||||
)
|
||||
from none.helpers import render_expression as __
|
||||
from nonebot.helpers import render_expression as __
|
||||
|
||||
from . import expressions as e
|
||||
|
||||
|
Reference in New Issue
Block a user