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.
- Ruby 2.5.1
- VS Code
- Telegram Bot API
- Type fit Quotes API
- Appspot Jokes API
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
This Bot was tested using RSpec which is a ruby testing tool. We tested all the public methods of the project.
- Open the terminal window and type rspec
👤 Daniel Ufeli
- Github: @danielufeli
- Twitter: @danielufeli
- Linkedin: danielufeli bust_in_silhouette Daniel Ufeli
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
This project is MIT licensed.