mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-13 01:06:03 +00:00
chore: 删除冗余的兼容性检查判断
This commit is contained in:
@@ -13,7 +13,7 @@ class HelpCommand(AbstractCommandNode):
|
||||
@classmethod
|
||||
def process(cls, ctx: Context) -> tuple[bool, list]:
|
||||
import config
|
||||
reply = [(config.help_message if hasattr(config, 'help_message') else "") + "\n请输入 !cmds 查看指令列表"]
|
||||
reply = [(config.help_message) + "\n请输入 !cmds 查看指令列表"]
|
||||
|
||||
return True, reply
|
||||
|
||||
Reference in New Issue
Block a user