This is just supposed to be a fun little open source Telegram Bot to help calculate the tip for a user, given a total cost in USD. To use the production bot, download Telegram and search for CalculateTipBot.
-
Clone repo
-
Create a
.env
file at the root and put the Bot tokens in there -
Install node modules
yarn install
-
Install the relevant bot in the Telegram App
-
Run
yarn dev:start
in the terminal to start the app listening
Technology/Function | Purpose |
---|---|
TypeScript | For Types, because ofc |
Telegraf | Package to help with handling and using Telegram's Bot API |
- Allow users to specify certain percent
- Make sure README is comprehensive, and up to date, for contributing