1
0
forked from bot/app
LiteyukiBot/docs/en/dev/api/message/rule.md

25 lines
342 B
Markdown
Raw Normal View History

2024-08-21 17:59:21 +08:00
---
title: liteyuki.message.rule
order: 1
icon: laptop-code
category: API
---
### ***class*** `Rule`
###   ***def*** `__init__(self, handler: Optional[RuleHandler]) -> None`
 
<details>
<summary>源代码</summary>
```python
def __init__(self, handler: Optional[RuleHandler]=None):
self.handler = handler
```
</details>