https://github.com/yusukeiwaki/dart-slack_echo_bot
https://github.com/yusukeiwaki/dart-slack_echo_bot
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yusukeiwaki/dart-slack_echo_bot
- Owner: YusukeIwaki
- Created: 2019-11-19T03:15:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-20T00:08:01.000Z (over 5 years ago)
- Last Synced: 2024-10-18T08:32:59.369Z (9 months ago)
- Language: Dart
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# slack_echo_bot

## Integrate with Slack.
1. Add your own app. https://api.slack.com/apps
2. Set your app's verification token and bot user token, to credentials.dart.
3. Add Bot user for your app.
4. Enable event subscription for your app, with `app_mention` subscription in `Subscribe to bot events` section.
5. Install your app into your Slack workspace.## build
Put your `credentials.dart` by copying `credentials.dart.sample`.
Then
```
dart2native server.dart -o ./slack_echo_bot
```will generate a executable binary.
## deploy
Prepare a Linux based server.
Install nginx or another SSL-offloading (SSL -> localhost:4000) server.
Then just put `slack_echo_bot`, and execute it.