Building a telegram bot that can inspire and crack jokes. It can be initialized on the command line(windows) / terminal where it sends inspirational messages to a specific user on his or her telegram account
This is a capstone project for the ruby curriculum.
- Ruby 2.6.5
- VS Code
- Telegram Bot API
- Type fit Quotes API
- Official Jokes API
-
Install Ruby in your system. To install Ruby, you can read the Documentation
-
Clone the repo using git clone https://github.com/vikitaotiz/Telegram_Inspire_Bot.git
-
For Windows users, open Command Prompt and run:
C:\>cd Telegram_Inspire_Bot folder C:\Telegram_Inspire_Bot folder run **bundle install** to install dependencies C:\Telegram_Inspire_Bot folder run ruby bin/main.rb
-
For Linux and Mac users, open a Terminal and run:
$ cd Telegram_Inspire_Bot folder $ run ruby bin/main.rb
-
Navigate to your telegram account
-
On your telegram account search for :
@victor_inspire_bot
-
Then press the /START button and follow the steps given
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:
run **rspec** it will run tests for both inspire_spec.rb rspec spec_spec.rb
👤 Victor Otieno
- GitHub: @githubhandle
- Twitter: @twitterhandle
- LinkedIn: LinkedIn
Contributions, issues and feature requests are welcome!. Feel free to check the issues page.