bot-telegram

The main goal is create a Bot. It's a real-world-like project, built with business specifications.

Stars
5

Bot-Telegram

The main goal is create a Bot. It's a real-world-like project, built with business specifications.

Built With

  • Ruby v2.7
  • Rubocop for linting purpose
  • Rspec

Live Demo

Getting Started

Install on Your Own Machine. You can skip the linter setup if you don't want to validate the code against good coding standards.

Set up your machine.

Prerequisites

  • Ruby
  • RuboCop

Setup

  1. Follow the link below to install git
  2. Follow the link below to install ruby
  3. Follow the link below to set up a linter
  4. Clone the repository
    • Clone the repository by run the code below on your computer terminal.
      git clone https://github.com/Alexoid1/bot-telegram

Usage

Go to the project directory and run open the bin/bot.rb file on your terminal.

Instruction to use the telegram-bot

  1. Go to https://web.telegram.org/#/im?p=@Alexoid_bot.

  2. cd in the repo folder

  3. Write (bundle install)in terminal

  4. Write (bin/bot.rb)

  5. Read Intructions commands

  • Intructions command
    1. /joke return a random joke
    2. /quote return a random quote
    3. /time return the current time
    4. /date return the current date
    5. /end say goodbye
    6. joke_every 10 will return the joke y the next 10 minutes
    7. quote_every 10 will return a quote in the next 10 minutes

Video

  • Follow the link > Video ...soon

👥 Authors

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

👍 Show your support

Give a ⭐️ if you like this project!

📚 Acknowledgments

📝 License

This project has no license.

Badges
Extracted from project README
Ruby Version RuboCop Telegram Bot
Related Projects