https://github.com/mkhuda/sobat-ambyar
A super simple slackbot for manusia-manusia ambyar.
https://github.com/mkhuda/sobat-ambyar
slack slackbot
Last synced: about 2 months ago
JSON representation
A super simple slackbot for manusia-manusia ambyar.
- Host: GitHub
- URL: https://github.com/mkhuda/sobat-ambyar
- Owner: mkhuda
- License: mit
- Created: 2020-03-24T11:24:42.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T01:48:05.000Z (over 3 years ago)
- Last Synced: 2026-02-24T02:36:22.822Z (4 months ago)
- Topics: slack, slackbot
- Language: TypeScript
- Homepage:
- Size: 1.61 MB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sobat Ambyar SlackBot

A super simple slackbot for ~manusia-manusia ambyar~.
> This is are experimental project (**but ready to use**) to explore on newest Slack API.
# Setup
### Clone the repository
```
git clone https://github.com/mkhuda/sobat-ambyar.git && cd sobat-ambyar
```
### Install dependencies
```
npm install
npm start
```
### [Create a Slack App](https://api.slack.com/apps/new) and generate and include your OAuth bot token
```
// Add this in your .env
PORT=3002
USE_PING=0
APP_URL=https://your-app-com-or-herokuapp.com/
SLACK_CLIENT_ID=xxxxxxxx.xxxxx
SLACK_CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxx
SLACK_SIGNING_SECRET=xxxxxxxxxxxxxx
BOT_TOKEN=xoxb-xxxxxxxxxxxxxxxxxx
MONGODB_DATABASE_NAME=xxxxxxxxxxx
MONGODB_URI=mongodb://xxxxxxxxxxxxxxxx
// Or using production ENV
```
## Author
[Muhammad K Huda](https://mkhuda.com)
## Licence
[MIT](https://opensource.org/licenses/MIT)