mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-03-31 08:19:54 +02:00
Add files via upload
This commit is contained in:
@@ -232,20 +232,21 @@ func (h *RobotHandler) HandleMessage(platform, userID, text string) (reply strin
|
||||
}
|
||||
|
||||
func (h *RobotHandler) cmdHelp() string {
|
||||
return `【CyberStrikeAI 机器人命令 / Bot Commands】
|
||||
· 帮助 / help — 显示本帮助 / Show this help
|
||||
· 列表 / 对话列表 / list — 列出所有对话标题与 ID / List conversations
|
||||
· 切换 <ID> / 继续 <ID> / switch <ID> — 指定对话继续 / Switch to conversation
|
||||
· 新对话 / new — 开启新对话 / Start new conversation
|
||||
· 清空 / clear — 清空当前上下文 / Clear context (same as new)
|
||||
· 当前 / current — 显示当前对话 ID 与标题 / Show current conversation
|
||||
· 停止 / stop — 中断当前任务 / Stop running task
|
||||
· 角色 / 角色列表 / roles — 列出所有可用角色 / List roles
|
||||
· 角色 <名> / 切换角色 <名> / role <name> — 切换当前角色 / Switch role
|
||||
· 删除 <ID> / delete <ID> — 删除指定对话 / Delete conversation
|
||||
· 版本 / version — 显示当前版本号 / Show version
|
||||
除以上命令外,直接输入内容将发送给 AI 进行渗透测试/安全分析。
|
||||
Otherwise, send any text for AI penetration testing / security analysis.`
|
||||
return "**【CyberStrikeAI 机器人命令】**\n\n" +
|
||||
"- `帮助` `help` — 显示本帮助 | Show this help\n" +
|
||||
"- `列表` `list` — 列出所有对话标题与 ID | List conversations\n" +
|
||||
"- `切换 <ID>` `switch <ID>` — 指定对话继续 | Switch to conversation\n" +
|
||||
"- `新对话` `new` — 开启新对话 | Start new conversation\n" +
|
||||
"- `清空` `clear` — 清空当前上下文 | Clear context\n" +
|
||||
"- `当前` `current` — 显示当前对话 ID 与标题 | Show current conversation\n" +
|
||||
"- `停止` `stop` — 中断当前任务 | Stop running task\n" +
|
||||
"- `角色` `roles` — 列出所有可用角色 | List roles\n" +
|
||||
"- `角色 <名>` `role <name>` — 切换当前角色 | Switch role\n" +
|
||||
"- `删除 <ID>` `delete <ID>` — 删除指定对话 | Delete conversation\n" +
|
||||
"- `版本` `version` — 显示当前版本号 | Show version\n\n" +
|
||||
"---\n" +
|
||||
"除以上命令外,直接输入内容将发送给 AI 进行渗透测试/安全分析。\n" +
|
||||
"Otherwise, send any text for AI penetration testing / security analysis."
|
||||
}
|
||||
|
||||
func (h *RobotHandler) cmdList() string {
|
||||
|
||||
@@ -1291,18 +1291,19 @@
|
||||
<h4>机器人命令说明</h4>
|
||||
<p class="settings-description">在对话中可发送以下命令(支持中英文):</p>
|
||||
<ul style="color: var(--text-muted); font-size: 13px; line-height: 1.8; margin: 8px 0 0 16px;">
|
||||
<li><strong>帮助</strong> / help — 显示命令帮助</li>
|
||||
<li><strong>列表</strong> / <strong>对话列表</strong> / list — 列出所有对话标题与 ID</li>
|
||||
<li><strong>切换 <ID></strong> / <strong>继续 <ID></strong> / switch <ID> — 指定对话继续</li>
|
||||
<li><strong>新对话</strong> / new — 开启新对话</li>
|
||||
<li><strong>清空</strong> / clear — 清空当前上下文(等同于新对话)</li>
|
||||
<li><strong>当前</strong> / current — 显示当前对话 ID 与标题</li>
|
||||
<li><strong>停止</strong> / stop — 中断当前正在执行的任务</li>
|
||||
<li><strong>角色</strong> / <strong>角色列表</strong> / roles — 列出所有可用角色</li>
|
||||
<li><strong>角色 <名></strong> / <strong>切换角色 <名></strong> / role <name> — 切换当前角色</li>
|
||||
<li><strong>删除 <ID></strong> / delete <ID> — 删除指定对话</li>
|
||||
<li><strong>版本</strong> / version — 显示当前版本号</li>
|
||||
<li><code>帮助</code> <code>help</code> — 显示本帮助 | Show this help</li>
|
||||
<li><code>列表</code> <code>list</code> — 列出所有对话标题与 ID | List conversations</li>
|
||||
<li><code>切换 <ID></code> <code>switch <ID></code> — 指定对话继续 | Switch to conversation</li>
|
||||
<li><code>新对话</code> <code>new</code> — 开启新对话 | Start new conversation</li>
|
||||
<li><code>清空</code> <code>clear</code> — 清空当前上下文 | Clear context</li>
|
||||
<li><code>当前</code> <code>current</code> — 显示当前对话 ID 与标题 | Show current conversation</li>
|
||||
<li><code>停止</code> <code>stop</code> — 中断当前任务 | Stop running task</li>
|
||||
<li><code>角色</code> <code>roles</code> — 列出所有可用角色 | List roles</li>
|
||||
<li><code>角色 <名></code> <code>role <name></code> — 切换当前角色 | Switch role</li>
|
||||
<li><code>删除 <ID></code> <code>delete <ID></code> — 删除指定对话 | Delete conversation</li>
|
||||
<li><code>版本</code> <code>version</code> — 显示当前版本号 | Show version</li>
|
||||
</ul>
|
||||
<p class="settings-description" style="margin-top: 8px;">除以上命令外,直接输入内容将发送给 AI 进行渗透测试/安全分析。Otherwise, send any text for AI penetration testing / security analysis.</p>
|
||||
</div>
|
||||
|
||||
<div class="settings-actions">
|
||||
|
||||
Reference in New Issue
Block a user