mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-15 15:34:25 +08:00
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>
|
|
|