mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2025-07-30 05:19:53 +00:00
🐛 修复npm无法显示的问题
This commit is contained in:
25
docs/en/dev/api/comm/event.md
Normal file
25
docs/en/dev/api/comm/event.md
Normal file
@ -0,0 +1,25 @@
|
||||
---
|
||||
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>
|
||||
|
Reference in New Issue
Block a user