Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexoid1/bot-telegram

The main goal is create a Bot. It's a real-world-like project, built with business specifications.
https://github.com/alexoid1/bot-telegram

public-api rspec rubocop ruby telegram-bot

Last synced: 16 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Bot-Telegram

[![Ruby Version](https://img.shields.io/badge/ruby-2.7-red?logo=ruby)](https://www.ruby-lang.org)
[![RuboCop](https://img.shields.io/badge/code%20style-RuboCop-red?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PGRlZnMvPjxwYXRoIGZpbGw9IiNjNWM1YzUiIGQ9Ik0yNyAxNHYtMWEyIDIgMCAwMC0yLTJIN2EyIDIgMCAwMC0yIDJ2MWEyIDIgMCAwMC0xIDF2MmExIDEgMCAwMDEgMnYxYTIgMiAwIDAwMiAxaDE4YTIgMiAwIDAwMi0xdi0xYTIgMiAwIDAwMS0ydi0yYTIgMiAwIDAwLTEtMXpNMTYgMmExMCAxMCAwIDAwLTEwIDloMjBhMTAgMTAgMCAwMC0xMC05ek0xMyAyNGg2djFsMS0xLTEtMWgtN3YybDEtMXoiLz48cGF0aCBmaWxsPSIjZWMxYzI0IiBkPSJNMjQgMThIOGExIDEgMCAxMTAtM2gxNmExIDEgMCAwMTEgMSAxIDEgMCAwMS0xIDJ6Ii8+PHBhdGggZmlsbD0iI2M1YzVjNSIgZD0iTTIzIDIydjRhMiAyIDAgMDEtMiAyaC0xYTEgMSAwIDAxMC0xbC0yLTFhMSAxIDAgMDAwLTFoLTRhMSAxIDAgMDAwIDFsLTIgMWExIDEgMCAwMTAgMWgtMWEyIDIgMCAwMS0yLTJ2LTRIN3Y0YTQgNCAwIDAwNCA0aDEwYTQgNCAwIDAwNC00di00eiIvPjwvc3ZnPg==)](https://rubocop.org/)
[![Telegram Bot](https://img.shields.io/badge/telegram-bot-blue?logo=telegram)](https://web.telegram.org/#/im?p=@Alexoid_bot)
![Hireable](https://cdn.rawgit.com/hiendv/hireable/master/styles/default/yes.svg)

> 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

- [Telegram-bot](https://web.telegram.org/#/im?p=@Alexoid_bot)

## 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
- [Download Git](https://git-scm.com/downloads)
2. Follow the link below to install ruby
- [Install Ruby](https://www.theodinproject.com/courses/ruby-programming/lessons/installing-ruby-ruby-programming)
3. Follow the link below to set up a linter
- [Set up Linter (RuboCop) to check code errors](https://github.com/rubocop-hq/rubocop)
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

* 👤 **Pablo Alexis Zambrano Coral**
- Github: [@Alexoid1](https://github.com/Alexoid1)
- Twitter: [@pablo_acz](https://twitter.com/pablo_acz)
- Linkedin: [linkedin](https://www.linkedin.com/in/pablo-alexis-zambrano-coral-7a614a189/)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the [issues page](issues/).

## 👍 Show your support

Give a ⭐️ if you like this project!

## 📚 Acknowledgments

- Thanks for [Microverse](https://github.com/microverseinc)

## 📝 License

This project has no license.