👉实现戳一戳响应和其它配置项

This commit is contained in:
2024-10-24 16:45:06 +08:00
parent 66844b197d
commit acdf1d1ed2
6 changed files with 116 additions and 27 deletions

View File

@ -0,0 +1,8 @@
from melobot.protocols.onebot.v11.adapter.segment import Segment
from typing import Literal
from typing_extensions import TypedDict
class _TouchData(TypedDict):
id: str
TouchSegment = Segment.add_type(Literal['touch'], _TouchData)