An example Slack Bot made with Node and Typescript.
The bot in this example pings the whole channel, then sends a GIF.
To work, you need a .env
file containing two keys:
- HOOK - The webhook of the channel (read more)
- TOKEN - The bot token
Run unit tests
$ npm run test
Run unit tests in watch mode
$ npm run test:watch
Run application in development mode
$ npm run serve
Run application in production mode
$ npm start