Skip to content

This is a telegram bot that sends inspirational quotes and hilarious jokes to users on their telegram accounts

License

Notifications You must be signed in to change notification settings

jamezjaz/telegram_bot

Repository files navigation

Telegram_Bot

This is a telegram bot that sends inspirational quotes and hilarious jokes to users on their telegram accounts. It can be triggered on the command line/terminal.

This is a Capstone Project of the Microverse curriculum.

Built With

  • Ruby 2.6.5
  • VS Code
  • Telegram Bot API
  • Herokuapp Quotes API
  • Appspot Quotes API

How To Install

  • Ensure Ruby is installed in your local machine. You can check out the installation process here
  • Clone this repo. If you have Git installed in your local machine, you can clone it using git clone command.
  • For Windows users, open Command Prompt and run:
    C:\>cd TElEGRAM_BOT folder 
    To install Gemfile and its dependencies:
    run mkdir Gemfile then run bundle install to install its dependencies.
    
    C:\TElEGRAM_BOT folder> run ruby bin/main.rb
  • For Linux and Mac users, open a Terminal and run:
    $ cd TElEGRAM_BOT folder
    To install Gemfile and its dependencies:
    run mkdir Gemfile then run bundle install to install its dependencies.
    $ run ruby bin/main.rb
  • Navigate to your telegram account and search for :
     @JamezjazBot
    
    
  • Then press the /START button and follow the steps given

Preview

Bot-Preview

Live Demo

Interact with the bot live here

Video Presentation

Video Presentation Bot Video

How to Test the Methods In the Classes

Install Rspec gem in your system. To do this:

Open Command Prompt or Terminal and run:

gem install Rspec

Navigate into the spec folder and run the following at the console:

rspec

How To Run GHA

When you open your first pull request you should see the result of the GitHub Actions: Click on the Details link to see the full output and the errors that need to be fixed:

Author

👤 James C. Odufu

🤝 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

  • Hat tip to anyone whose code and inspiration was used

📝 License

This project is MIT licensed.

About

This is a telegram bot that sends inspirational quotes and hilarious jokes to users on their telegram accounts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages