forked from bot/app
26 lines
362 B
Markdown
26 lines
362 B
Markdown
|
---
|
||
|
title: liteyuki.comm.event
|
||
|
order: 1
|
||
|
icon: laptop-code
|
||
|
category: API
|
||
|
---
|
||
|
|
||
|
### ***class*** `Event`
|
||
|
|
||
|
事件类
|
||
|
|
||
|
###   ***def*** `__init__(self, name: str, data: dict[str, Any]) -> None`
|
||
|
|
||
|
 
|
||
|
|
||
|
<details>
|
||
|
<summary>源代码</summary>
|
||
|
|
||
|
```python
|
||
|
def __init__(self, name: str, data: dict[str, Any]):
|
||
|
self.name = name
|
||
|
self.data = data
|
||
|
```
|
||
|
</details>
|
||
|
|