/wishBasket-bot

This bot helps you to create and share wish-lists, now no one will fail with a gift 🧺

Primary LanguageTypeScriptMIT LicenseMIT

logo-py-qt-yt


Wish basket bot

Hello, this is repo of @WishBasket_bot for telegram. It allows you to create wish lists inside it and share them among your friends! Or you can open your wish list to friends, so they can choose a present for your birthday 🎁

Developer info

This bot is based on starter template for Telegram bots, which based based on telegraf.js.org. It includes most common middlewares used by me, MongoDB integration, language picker and internationalization and shows basic encapsulation techniques used by me.

Installation and local launch

  1. Clone this repo: git clone https://github.com/T-Damer/wishBasket-bot
  2. Launch the mongo database locally or launch remote cluster at mongo.atlas
  3. Create .env with the environment variables listed below
  4. Run yarn install in the root folder
  5. Run yarn develop

And you should be good to go! Feel free to fork and submit pull requests. Thanks!

Environment variables

  • TOKEN — Telegram bot token
  • MONGO— URL of the mongo database

Also, please, consider looking at .env.sample.

License

MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!