/telegram-bot-microverse

A Telegram Bot that gives you a daily inspirational quote, asks for your name and makes a joke about you

Primary LanguageRubyMIT LicenseMIT

telegram-bot-microverse

A Telegram Bot that gives you a daily inspirational quote, and makes jokes for entertainment. it runs on the terminal/command line, which then sends inspirational messages to a specific user on his or her telegram account, It was built purely on the Ruby programming language.

Built With

  • Ruby 2.5.1
  • VS Code
  • Telegram Bot API
  • Type fit Quotes API
  • Appspot Jokes API

Getting Started

To get a local copy up and running follow these simple example steps.

  • Install Ruby in your system. To install Ruby, you can read the Documentation

  • Go to the main page of the repo.

  • Press the "Code" button and get the repo link.

  • Paste the repository link on the like: git clone [https://github.com/danielufeli/telegram-bot-microverse.git] or download has a Zip file.

  • on the CLI, cd TELEGRAM-BOT-MICROVERSE folder

  • Rename .env.example to .env and add Telegram Token

  • Run bundle install

  • Run bin/main.rb to initialize the bot.

  • Navigate to your telegram account

  • On your telegram account search for :

     @tel_microverse_bot
    
    
  • Then press the /START button and follow the steps given

How to Test

This Bot was tested using RSpec which is a ruby testing tool. We tested all the public methods of the project.

Run the test

  • Open the terminal window and type rspec

Authors

👤 Daniel Ufeli

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

📝 License

This project is MIT licensed.