Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/mkhuda/sobat-ambyar
- Owner: mkhuda
- License: mit
- Created: 2020-03-24T11:24:42.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T01:48:05.000Z (almost 2 years ago)
- Last Synced: 2023-03-30T03:38:22.499Z (over 1 year 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![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.
# Setup
### Clone the repository
```
git clone https://github.com/mkhuda/sobat-ambyar.git && cd sobat-ambyar
```### Install dependencies
```
npm installnpm 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)