Public
HTTP (deprecated)
Readme

This val provides a way of readily having lots of different Slack bots that do different things and support different Slack workspaces without needing a bunch of Val Town accounts. If you only need a single bot on a single workspace, just go with the approach in the Val Town docs.

This bot is essentially the one described in the Val Town docs, but without any of the details. Those are externalized by the SlackConfig and SlackFunction interfaces. It is just glue. In order to make it work, you will need the following additional glue:

  • a public HTTP val to handle requests like this one
  • a private val to supply any info missing from the public one like this one

Actually, those could both be public or all in the same val, but the whole point of this scheme is to allow you to hide anything you want.

Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
curtcox-reply_to_slack_message.web.val.run
May 2, 2024