1
0
forked from bot/app
LiteyukiBot/docs/en/dev/api/comm/event.md
2024-08-21 17:59:21 +08:00

362 B
Raw Blame History

title order icon category
liteyuki.comm.event 1 laptop-code API

class Event

事件类

def __init__(self, name: str, data: dict[str, Any]) -> None

源代码
def __init__(self, name: str, data: dict[str, Any]):
    self.name = name
    self.data = data