Building a telegram motivational bot that can be initialized on the command line(windows) / terminal(mac & linux) where it sends motivational messages to a specific user on his or her telegram account.
This is a capstone project for the ruby curriculum at microverse coding school.
- Ruby 2.6.5
- VS Code
- Telegram Bot API
- Type fit Quotes API
- Yo mamma Jokes API
-
Install Ruby in your system. To install Ruby, you can read the Documentation
-
Download it as a Zip File. If you have installed Git in your system, you can clone it using git clone command.
-
For Windows users, open Command Prompt and run:
C:\>cd TElEGRAM_MOTIVATIONAL_BOLT folder C:\TElEGRAM_MOTIVATIONAL_BOLT folder> run ruby bin/main.rb
-
For Linux and Mac users, open a Terminal and run:
$ cd TElEGRAM_MOTIVATIONAL_BOLT folder $ run ruby bin/main.rb
-
Navigate to your telegram account
-
On your telegram account search for :
@mawaitha_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:
rspec telegram_bot_tests.rb
👤 Peter Robert
- Github: @peterrobert
- Twitter: @ptahwambui93
- Linkedin: Peter Robert Ndungu
Contributions, issues and feature requests are welcome!. Feel free to check the issues page.