mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-16 19:11:00 +00:00
plugin load
This commit is contained in:
@ -1,4 +1,6 @@
|
||||
from typing import Literal, Callable
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
Scope = Literal["PRIVATE", "DISCUSS", "GROUP", "ALL"]
|
||||
Handler = Callable[["Event", dict], None]
|
||||
from typing import Callable, Awaitable
|
||||
|
||||
Handler = Callable[["Bot", "Event", dict], Awaitable[None]]
|
||||
|
Reference in New Issue
Block a user