Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 469 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 469 Bytes

slackbot

Slack bot made with Nodejs and Slack Bolt API

The bot check every 24 hours if it's someone birthday and publish a message to an specific channel.

Usage

git clone https://github.com/Marcos-Iorio/slackbot.git
npm i
node index.js or nodemon index.js

The app needs three enviroment variables, assigned by Slack

SLACK_BOT_TOKEN: xxxxxxxxxxxxxxxxxxxxxxxxxxx SLACK_SIGNING_SECRET: xxxxxxxxxxxxxxxxxxxxxxxxxxx APP_TOKEN: xxxxxxxxxxxxxxxxxxxxxxxxxxx