# liteyuki.comm.event | LiteyukiBot
class Event 事件类 def __init__(self, name: str, data: dict[str, Any]) -> None 源代码

Skip to main content

- Resource Pack
- Liteyuki Function
- Liteyuki Plugin
- Communication
- - liteyuki
  - liteyuki.config
  - liteyuki.exception
  - liteyuki.log
  - liteyuki.mkdoc
  - liteyuki.utils
  - - liteyuki.comm
    - liteyuki.comm.channel
    - liteyuki.comm.event
    - liteyuki.comm.storage

# liteyuki.comm.event

SnowyKami
Less than 1 minute
API

On This Page

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

### 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