🎨 impove typing

This commit is contained in:
yanyongyu
2020-12-07 00:06:09 +08:00
parent 629eed08b6
commit 6b3f6a46e6
27 changed files with 60 additions and 137 deletions

View File

@ -4,7 +4,7 @@ from nonebot.rule import to_me
from nonebot.typing import State
from nonebot.plugin import on_command
from nonebot.permission import SUPERUSER
from nonebot.adapters import BaseBot as Bot, BaseEvent as Event, BaseMessageSegment as MessageSegment
from nonebot.adapters import Bot, Event, MessageSegment
say = on_command("say", to_me(), permission=SUPERUSER)