Skip to content

Humminbird_bot is a helpful bot for wine quotations. Users can simulate the cost of different wine products. Build with: Ruby, Telegram-bot

License

Notifications You must be signed in to change notification settings

gasb150/Hummingbird_Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hummingbird Bot

In this project, I made a bot to help clients have a quotation for a wine sale.

screenshot

In this project, I make a Telegram wine quote bot using the API given by the BotFather from telegram. I choose a Hummingbird_Bot, because I have my handcrafted wine business, and this project could help in the future in how we can go to more people.

Descrition

With this bot: you can move within options using the assigned typings. you can choose between different flavors for single bottles, boxes (12 bottles), and take combos.

Group Link

Group link

📹 Video Description

Here you can see the video description: Video

💻 Built With

  • Ruby
  • Ruby gem Telegram-bot
  • Ruby gem Rspec
  • Ruby gem bundle
  • VSCode
  • Rubocop

🔧 Getting Started

Take a copy of this project

  • Go to the main page of the repo.
  • Press the "Code" button and get the repo link.
  • Clone it using git clone.
git clone 'repo_link' 

📗 How to use

  • After you clone the repo, use
bundle install
  • and for the run
bundle exec ruby /bin/main.rb

           or
           
bundle exec ruby bin/main.rb
  • now open your telegram and search to @JuanDlaCruzbot or use this Direct link
  • With this bot:
  • you can move within different options using the assigned typings. screenshot
  • if you choose single bottles
/single

screenshot

  • you will watch different flavor options; if you want something like "corozo" type
/corozo
  • You can keep choosing any flavor. screenshot
  • But if you want to select a box with 12 bottles of wine, you have to move to the previous menu
/back

screenshot

  • And now choose a box or two. screenshot
  • Also, you can go and take one combo
  /combo
  • going back to the last menu.

When you feel you don't want to buy anything, go to your car:

/car

and see how much you expect to spend. screenshot Now you know how you will spend; if you want to keep going, choose an option:

/single, /box or /combo

but if you want to stop, try typing

/stop

screenshot

🔎 Test it

If you want to test the unit code, type on terminal

rspec

you will see something like this screenshot This text means everything is ok, and this tool is doing everything it's supposed to do.

👨 Authors

🐦 Gustavo Sanmartin

👏 Acknowledgments

Show your support

Give a star if you like this project!

License

This project is MIT licensed.

About

Humminbird_bot is a helpful bot for wine quotations. Users can simulate the cost of different wine products. Build with: Ruby, Telegram-bot

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published