https://github.com/doarakko/slack-bot-typescript-playground
https://github.com/doarakko/slack-bot-typescript-playground
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/doarakko/slack-bot-typescript-playground
- Owner: Doarakko
- License: mit
- Created: 2022-07-18T18:06:46.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-30T15:52:26.000Z (almost 4 years ago)
- Last Synced: 2025-02-02T11:36:44.140Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 82 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# typescript-slack-bot-playground
## Requirements
- npm
- Slack
## Usage
### 1. Prepare source code.
Fork [this](https://github.com/Doarakko/typescript-slack-bot-playground) repository.
```sh
git clone https://github.com//typescript-slack-bot-playground
```
### 2. Create Slack App using `manifest.yml`.
Go to [here](https://api.slack.com/apps) and create from an app manifest.
Get App-Level Token(xapp-aaaa) with connections:write and Bot User OAuth Token(xoxb-bbbb).
### 3. Edit `.env`.
```sh
cp .env.example .env
```
Enter SLACK_APP_TOKEN and SLACK_BOT_TOKEN.
### 4. Install library
```sh
npm install
```
### 5. Run
```sh
npm run dev
```