- Install dependencies with
pipenv install
- Create a Slack app, install it into a workspace, and add it to a channel
- Create a .env file with SLACK_OAUTH_TOKEN and MESSAGE_FILE_NAME set (the latter controls the text file where the Bot's message is persisted)
- Run the API server via
pipenv run uvicorn main:app --host <local IP> --reload
- Use ngrok to tunnel connections to the port the API is served on
- Add the public URL to the Events API redirect URL, and subscribe to channel messages
- Use the root web page to edit the message the bot replies with
PradyumnaShome/slack-thread-response-bot
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
An API that automatically responds to all messages in a channel with a canned message persisted in a text file.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published