change typing manage

This commit is contained in:
yanyongyu
2020-08-07 17:05:08 +08:00
parent 950dbb1115
commit f2b6f08599
12 changed files with 20 additions and 13 deletions

View File

@ -4,11 +4,11 @@
from functools import wraps
from datetime import datetime
from collections import defaultdict
from typing import Type, List, Dict, Optional, Callable
from nonebot.event import Event
from nonebot.typing import Handler
from nonebot.rule import Rule, user
from nonebot.typing import Type, List, Dict, Optional, Callable
from nonebot.exception import PausedException, RejectedException, FinishedException
matchers: Dict[int, List[Type["Matcher"]]] = defaultdict(list)