Bill is a bot that reports you the current money exchange rate via Slack. Now supports cryptocurrencies 😃.
- Node
- Yarn
Slack Integrations
# install dependencies
yarn install
# build
yarn build
# or
npm run build
All of the environment variables are stored in the src/env-example.js
file. Rename this file to src/env.js
.
If you wish to schedule automated posts, then you can use the integrated cron scheduler. Add the configuration to the env.js
file. The cron format consists of:
* * * * * *
┬ ┬ ┬ ┬ ┬ ┬
│ │ │ │ │ |
│ │ │ │ │ └ day of week (0 - 7) (0 or 7 is Sun)
│ │ │ │ └───── month (1 - 12)
│ │ │ └────────── day of month (1 - 31)
│ │ └─────────────── hour (0 - 23)
│ └──────────────────── minute (0 - 59)
└───────────────────────── second (0 - 59, OPTIONAL)
Run build and start dist/index.js
file
# start server
npm start
Enjoy 😃
Do you have a question? Found an issue? Tell us!