Coder Social home page Coder Social logo

gasb150 / hummingbird_bot Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 1.0 4.72 MB

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

Home Page: https://github.com/gasb150/Hummingbird_Bot

License: MIT License

Ruby 99.71% Shell 0.29%
ruby bots telegram-bot api

hummingbird_bot's Introduction

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.

hummingbird_bot's People

Contributors

gasb150 avatar

Stargazers

Carlos Veiga avatar Diego shagui avatar Galiwango Ananiya avatar Ana Paula Hübner avatar Miguel Ricaño avatar  avatar Ceci Benitez avatar

Watchers

 avatar

Forkers

wusinho

hummingbird_bot's Issues

Peer to Peer Code Review

You made an amazing job!

  • Change your bot name to a more meaningful one.

  • Remove the backslashes from the text.

  • Check the grammar!

Peer to Peer Code Review

Good Work, keep it up. You could add a few things to improve your work.

  • You could add some colors.

  • Add Meaningful Commits.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.