From 3733b84f022929ed316b5a5f14fd3dbefb2cc141 Mon Sep 17 00:00:00 2001 From: Danieldd28 Date: Wed, 11 Feb 2026 02:28:54 +0700 Subject: [PATCH] feat: add /swarm stopall command --- pkg/swarm/service.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/swarm/service.go b/pkg/swarm/service.go index b26a072bd..2fbcbc6d6 100644 --- a/pkg/swarm/service.go +++ b/pkg/swarm/service.go @@ -101,6 +101,9 @@ func (s *Service) HandleCommand(ctx context.Context, channel, chatID, input stri if len(args) < 3 { return "ID required" } s.Orchestrator.StopSwarm(core.SwarmID(args[2])) return "Stopped." + case "stopall": + s.Orchestrator.StopAll() + return "Stopping all active swarms..." case "status": if len(args) < 3 { return "ID required" } sid := core.SwarmID(args[2])