duke79 / duky-slacky

An example Slack Bot made with Node and Typescript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node Typescript Slackbot

An example Slack Bot made with Node and Typescript.

The bot in this example pings the whole channel, then sends a GIF.

Setup

To work, you need a .env file containing two keys:

  • HOOK - The webhook of the channel (read more)
  • TOKEN - The bot token

Commands

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

About

An example Slack Bot made with Node and Typescript.

License:MIT License


Languages

Language:TypeScript 96.4%Language:JavaScript 3.6%