检查是否为元事件
| 55 | |
| 56 | |
| 57 | class MetaEvent: |
| 58 | """检查是否为元事件""" |
| 59 | |
| 60 | __slots__ = () |
| 61 | |
| 62 | def __repr__(self) -> str: |
| 63 | return "MetaEvent()" |
| 64 | |
| 65 | async def __call__(self, type: str = EventType()) -> bool: |
| 66 | return type == "meta_event" |
| 67 | |
| 68 | |
| 69 | MESSAGE: Permission = Permission(Message()) |