This commit is contained in:
Vaica committed 2026-06-24 15:55:06 +08:00
1 parent 5b05050ebe
commit b6264280b9
2 files changed
+64 -199

No files matched your search

-6
View File
@@ -20,10 +20,6 @@ const CALLBACK_PREFIXES: Record<string, string> = {
feeds: "feeds",
skip_cat: "skip_categories",
skip_tag: "skip_tags",
confirm_shutdown: "confirm_shutdown",
cancel_shutdown: "cancel_shutdown",
confirm_reboot: "confirm_reboot",
cancel_reboot: "cancel_reboot",
};
function sleep(ms: number): Promise<void> {
@@ -179,8 +175,6 @@ export async function startPolling(): Promise<void> {
{ command: "feed_health", description: "订阅源健康检查" },
{ command: "read", description: "友链最新文章" },
{ command: "stats", description: "网站数据" },
{ command: "shutdown", description: "关机" },
{ command: "reboot", description: "重启" },
{ command: "help", description: "帮助" },
],
});