mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-21 06:07:13 +08:00
role: modify help text
This commit is contained in:
@@ -119,7 +119,7 @@ class Role(Plugin):
|
|||||||
e_context.action = EventAction.CONTINUE
|
e_context.action = EventAction.CONTINUE
|
||||||
|
|
||||||
def get_help_text(self):
|
def get_help_text(self):
|
||||||
help_text = "输入\"$角色 (角色名)\"或\"$role (角色名)\"为我设定角色吧,#reset 可以清除设定的角色。\n目前可用角色列表:\n"
|
help_text = "输入\"$角色 (角色名)\"或\"$role (角色名)\"为我设定角色吧,$停止扮演 可以清除设定的角色。\n目前可用角色列表:\n"
|
||||||
for role in self.roles:
|
for role in self.roles:
|
||||||
help_text += f"[{role}]: {self.roles[role]['remark']}\n"
|
help_text += f"[{role}]: {self.roles[role]['remark']}\n"
|
||||||
return help_text
|
return help_text
|
||||||
|
|||||||
Reference in New Issue
Block a user