restart fix + slack commands

This commit is contained in:
ari committed 2026-11-01 15:10:39 -05:00
1 parent e90c9f324b
commit 25fcf85855
22 files changed
+1077 -119

No files matched your search

+2 -3
View File
@@ -5,7 +5,6 @@ import (
"flag"
"os"
"strconv"
"strings"
"sync"
"slackerbot/internal/acp"
@@ -47,8 +46,8 @@ type Calls struct {
}
func isSendFile(u acp.Update) bool {
return u.ToolName == ServerName+"__"+SendFile ||
strings.HasPrefix(u.Title, ServerName+": "+strings.ReplaceAll(SendFile, "_", " "))
name, ok := toolName(u)
return ok && name == SendFile
}
func (c *Calls) Update(u acp.Update) {