mirror of
https://github.com/LiteyukiStudio/marshoai-melo.git
synced 2025-09-06 04:36:25 +00:00
👉实现戳一戳响应和其它配置项
This commit is contained in:
8
marshoai/extra_segment.py
Normal file
8
marshoai/extra_segment.py
Normal 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)
|
Reference in New Issue
Block a user