https://github.com/bertrandom/sawbot
https://github.com/bertrandom/sawbot
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bertrandom/sawbot
- Owner: bertrandom
- License: mit
- Created: 2023-03-15T02:10:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-16T06:11:54.000Z (over 3 years ago)
- Last Synced: 2025-10-09T00:23:39.778Z (9 months ago)
- Language: TypeScript
- Size: 550 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sawbot
Slack next-gen Platform app for conversing with ChatGPT using functions, triggers, and workflows
## Configuration
Set your OpenAI key to `OPENAI_API_KEY`:
```
slack env add OPENAI_API_KEY your_key_goes_here
```
If you're testing locally, copy `env.sample.txt` to `.env` and put it in there.
## Triggers
There are two triggers, Message Posted trigger and App Mentioned trigger.
Message Posted trigger will trigger on all messages posted to the channel specified in the trigger
App Mentioned trigger will trigger when the app is @mention in a channel specified in the trigger
## Retention
The bot retains conversation history within the same channel. To clear its history and start from nothing:
@sawbot clear all motor functions
## License
MIT