LLMStack
LLMStack copied to clipboard
feature(slack): slash commands support
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
postMessagefunction, 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
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 |