From c7547a9125c736ce1fdc60a6d044cbfb2cfbc474 Mon Sep 17 00:00:00 2001 From: Ari Sosnovsky Date: Sun, 1 Nov 2026 15:23:28 -0500 Subject: [PATCH] updated help --- slackerbot/internal/bot/bot.go | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/slackerbot/internal/bot/bot.go b/slackerbot/internal/bot/bot.go index 9dd91b9..a33ede1 100644 --- a/slackerbot/internal/bot/bot.go +++ b/slackerbot/internal/bot/bot.go @@ -36,10 +36,9 @@ const helpText = "I pass your messages to an agent running in its own container. "• In a DM, the container is yours alone. In a channel, it belongs to the channel " + "and anyone here can use it by @mentioning me.\n" + "• Every new message starts a new session. Reply in its thread to keep going.\n" + - "• In a channel thread I only read replies that @mention me. `/listen all-messages` in the thread makes me read them all, " + - "`/listen channel all-messages` sets the channel's default.\n" + + "• In a channel thread I only read replies that @mention me, unless the thread or channel is switched with `listen` (see below).\n" + "• React with :x: to stop a reply part-way.\n" + - "*Commands* (send as a new message, not in a thread):\n" + + "*Commands* (send as a new message, not in a thread. `move` and `listen` work in threads too):\n" + "• `status`: state, size and idle limit, with buttons\n" + "• `sessions`: past sessions, with links\n" + "• `stop`: shut the container down (files are kept)\n" + @@ -47,13 +46,18 @@ const helpText = "I pass your messages to an agent running in its own container. "• `scale 8G 4cpu`: set an exact size. `scale +2G` or `scale -1cpu`: change by that much\n" + "• `keep 24h` (or `3d`, `1d12h`, `2w`): stop after that long unused\n" + "• `keep indefinite`: never stop for being unused. `keep default`: back to normal. `keep`: show it\n" + - "• `storage 20G` / `storage +5G`: set or change the home folder's max size\n" + - "• `storage min 8G`: set the guaranteed space. `storage`: show usage\n" + + "• `storage 20G` / `storage +5G` / `storage -2G`: set or change the home folder's max size (`disk` works too)\n" + + "• `storage min 8G`: set the guaranteed space. `storage min 8G max 20G`: set both. `storage`: show usage\n" + "• `nodes`: every node and what's free on it\n" + - "• `move `: move the container to that node. `move auto`: let me pick the best one. Works in threads too\n" + + "• `move ` (or `move to `, `migrate `): move the container to that node. `move auto`: let me pick the best one\n" + + "• `@slacker /listen all-messages` / `@slacker /listen only-mentions`: in a session's thread, read every reply or only @mentions. " + + "`@slacker /listen`: show this thread's setting\n" + + "• `@slacker /listen channel all-messages` / `@slacker /listen channel only-mentions`: set the channel's default for threads " + + "(a top-level `/listen all-messages` does the same). `@slacker /listen channel`: show it. `listen` without the slash works too\n" + "• `permissions`: who can scale, change storage, move or set timeouts here\n" + - "• Managers: `grant @alice move scale`, `revoke @alice`, `permissions reset`, " + - "`grant default @alice all`, `dm storage on|off`, `managers add|remove @alice`\n" + + "• `managers`: who the user managers are\n" + + "• Managers: `grant @alice move scale`, `revoke @alice move` / `revoke @alice`, `permissions reset`, " + + "`grant default @alice all` / `revoke default @alice`, `dm storage on|off`, `managers add|remove @alice`\n" + "• `help`: this message" type Bot struct {