LLMStack icon indicating copy to clipboard operation
LLMStack copied to clipboard

feature(slack): slash commands support

Open Balu-Varanasi opened this issue 1 year ago • 1 comments

Goal

The goal of this pull request is to enhance our system's functionality by adding support for slash commands.

Changes

Frontend

  • Implemented optional support for adding a slash command name and description.

Backend

  • Implemented validation for Slack callback requests to ensure they originate from valid a slash command configured within our system.
  • Prepared internal input data to facilitate the postMessage function, ensuring seamless communication within the Slack environment.

Testing

Configured Slack App Scopes

Bot Token Scopes: It is essential to ensure that the bot has access to the commands scope under Features > OAuth & Permissions.

Multiple Channels

  • Tested the command across multiple channels, using the defined signature to ensure its functionality across diverse communication contexts.

Reviewers

@ajhai and @vegito22

Dependency PR

https://github.com/trypromptly/LLMStack/pull/175

Balu-Varanasi avatar Mar 04 '24 05:03 Balu-Varanasi

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
llmstack ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 6, 2024 6:34am

vercel[bot] avatar Mar 04 '24 05:03 vercel[bot]