mirror of
https://github.com/tiennm99/claude-status-webhook.git
synced 2026-04-17 15:20:37 +00:00
feat: add /help, /history, /uptime commands and enhance /status
- /help: detailed guide with examples for all commands - /status: overall indicator, emoji markers, updated time, status page link - /history [count]: recent incidents with impact, dates, links (max 10) - /uptime: component health with last change time - Split info commands into bot-info-commands.js for modularity - Register all 7 commands in bot-setup.js
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
const TELEGRAM_API = "https://api.telegram.org/bot";
|
||||
|
||||
const BOT_COMMANDS = [
|
||||
{ command: "help", description: "Detailed command guide" },
|
||||
{ command: "start", description: "Subscribe to status notifications" },
|
||||
{ command: "stop", description: "Unsubscribe from notifications" },
|
||||
{ command: "status", description: "Check current Claude status" },
|
||||
{ command: "status", description: "Current system status" },
|
||||
{ command: "subscribe", description: "Set notification preferences" },
|
||||
{ command: "history", description: "Recent incidents" },
|
||||
{ command: "uptime", description: "Component health overview" },
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user