/slack-bot

Primary LanguageTypeScript

Setup

  1. Run this program on you Membrane account
  2. Create a new Slack App.
  3. Configure your Slack app:
    1. Under "Slash Commands": create a new slash command (e.g. /botgpt) to hit your Membrane program's endpoint
    2. Under "OAuth and Permissions": Generate a "Bot User OAuth token"
  4. Use the token from the previous step to configure your Membrane program (Use the graph explorer or mctl action slack-bot:configure(token:"<your-token>"))

Usage

Use /botgpt help command in a channel with app permissions