updated help
This commit is contained in:
1 parent
25f648d606
commit
c7547a9125
1 file changed
+12
-8
@@ -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 <node>`: move the container to that node. `move auto`: let me pick the best one. Works in threads too\n" +
|
||||
"• `move <node>` (or `move to <node>`, `migrate <node>`): 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 {
|
||||
|
||||
Reference in new issue
Block a user