Skip to main content

- Resource Pack
- Liteyuki Function
- Liteyuki Plugin
- Communication
- - liteyuki
  - liteyuki.config
  - liteyuki.exception
  - liteyuki.log
  - liteyuki.mkdoc
  - liteyuki.utils
  - - liteyuki.message
    - liteyuki.message.event
    - liteyuki.message.matcher
    - liteyuki.message.on
    - liteyuki.message.rule
    - liteyuki.message.session

# liteyuki.message.rule

SnowyKami
Less than 1 minute
API

On This Page

- class Rule
- def __init__(self, handler: Optional[RuleHandler]) -> None

### class `Rule`

### def `__init__(self, handler: Optional[RuleHandler]) -> None`

源代码

    def __init__(self, handler: Optional[RuleHandler]=None):
        self.handler = handler