跳转至

event

Ariadne 的事件

MiraiEvent 🔗

Bases: Dispatchable, AriadneBaseModel

Ariadne 的事件基类

Source code in src/graia/ariadne/event/__init__.py
 8
 9
10
11
12
13
14
class MiraiEvent(Dispatchable, AriadneBaseModel):
    """Ariadne 的事件基类"""

    type: str
    """事件类型"""

    Dispatcher = BaseDispatcher

type instance-attribute 🔗

type: str

事件类型