plugin: add dungeon plugin

This commit is contained in:
lanvent
2023-03-16 01:08:19 +08:00
parent 2568322879
commit 61d66dd8b3
3 changed files with 77 additions and 1 deletions

View File

@@ -41,6 +41,6 @@ class Hello(Plugin):
if content == "End":
# 如果是文本消息"End",将请求转换成"IMAGE_CREATE"并将content设置为"The World"
e_context['context'].type = "IMAGE_CREATE"
e_context['context'].type = ContextType.IMAGE_CREATE
content = "The World"
e_context.action = EventAction.CONTINUE # 事件继续,交付给下个插件或默认逻辑