mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-09-07 12:36:47 +00:00
fix import
This commit is contained in:
@ -8,12 +8,12 @@ from typing import (Tuple, Union, Callable, Iterable, Any, Optional, List, Dict,
|
||||
Awaitable)
|
||||
|
||||
from aiocqhttp import Event as CQEvent
|
||||
from aiocqhttp.message import Message
|
||||
|
||||
from nonebot import NoneBot, permission as perm
|
||||
from nonebot.command.argfilter import ValidateError
|
||||
from nonebot.helpers import context_id, send, render_expression
|
||||
from nonebot.log import logger
|
||||
from nonebot.message import Message
|
||||
from nonebot.session import BaseSession
|
||||
from nonebot.typing import (CommandName_T, CommandArgs_T, CommandHandler_T,
|
||||
Message_T, State_T, Filter_T)
|
||||
|
@ -1,7 +1,8 @@
|
||||
import re
|
||||
from typing import List
|
||||
|
||||
from nonebot.message import Message
|
||||
from aiocqhttp.message import Message
|
||||
|
||||
from nonebot.typing import Message_T
|
||||
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
import re
|
||||
from typing import Callable, Any
|
||||
|
||||
from nonebot.command.argfilter import ValidateError
|
||||
from nonebot.typing import Filter_T
|
||||
from nonebot.command.argfilter import ValidateError
|
||||
|
||||
|
||||
class BaseValidator:
|
||||
|
@ -1,6 +1,6 @@
|
||||
from typing import Union, Callable
|
||||
|
||||
from nonebot.command import on_command
|
||||
from nonebot.plugin import on_command
|
||||
from nonebot.typing import CommandName_T
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user