Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mkhuda/sobat-ambyar

A super simple slackbot for manusia-manusia ambyar.
https://github.com/mkhuda/sobat-ambyar

slack slackbot

Last synced: 4 days ago
JSON representation

A super simple slackbot for manusia-manusia ambyar.

Awesome Lists containing this project

README

        



# Sobat Ambyar SlackBot

![SobatAmbyar](https://avatars.slack-edge.com/2020-03-24/1023381274981_cddb07dd666086c15004_192.png)

A super simple slackbot for ~manusia-manusia ambyar~.

> This is are experimental project (**but ready to use**) to explore on newest Slack API.

Add to Slack

# 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)