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: about 1 month 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 (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T01:48:05.000Z (about 2 years ago)
- Last Synced: 2025-01-09T13:57:25.285Z (about 1 month 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 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)