Telegram bot to manage the consumption of Club Mate between different people.
- Communicate with @BotFather to create a bot and get the token.
- Rename
secrets.sample.json
tosecrets.json
. - Replace the
BOT_TOKEN
key in thesecrets.json
file with the bot token. - Go on Giphy get api key and follow the instructions to get an API key.
- Replace the
API_KEY
key in thesecrets.json
file with the api key you were provided with. - Run
npm i
to install the node dependencies. - Run script with
node index.js
.
/start
→ Welcome :)/about
→ Shows bot version, bug report, etc.../help
→ Shows a list of all available commands with their description./send <@username> <amount>
→ Send a specific amount of money to another person./balance
→ Shows the status of everyone's wallet./setoption <item> <value>
→ Change the value of an item (price of box, bottle, currency...)./option
→ List current options's values./buybox
→ The user buys a case of club-mate./drink
→ The user drinks a club-mate./charge [@username] <value>