feat: support receive_message event

This commit is contained in:
lanvent
2023-04-13 10:50:18 +08:00
parent 47fe16c92a
commit 9cef559a05
2 changed files with 11 additions and 4 deletions

View File

@@ -4,7 +4,10 @@ from enum import Enum
class Event(Enum):
# ON_RECEIVE_MESSAGE = 1 # 收到消息
ON_RECEIVE_MESSAGE = 1 # 收到消息
"""
e_context = { "channel": 消息channel, "context" : 本次消息的context}
"""
ON_HANDLE_CONTEXT = 2 # 处理消息前
"""