plugins: add helpp command for godcmd

This commit is contained in:
lanvent
2023-03-24 22:37:48 +08:00
parent 2f78c072d7
commit 30aedf04d7
7 changed files with 36 additions and 6 deletions

View File

@@ -44,3 +44,7 @@ class Hello(Plugin):
e_context['context'].type = ContextType.IMAGE_CREATE
content = "The World"
e_context.action = EventAction.CONTINUE # 事件继续,交付给下个插件或默认逻辑
def get_help_text(self, **kwargs):
help_text = "输入Hello我会回复你的名字\n输入End我会回复你世界的图片\n"
return help_text