Ruby Capstone Project (MySickleBot - A Telegram Bot) A simple bot that gives health tips on Sickle Cell Anaemia, built following the original project specifications from Microverse Ruby Capstone Project - Build your bot
MySickleBot is a telegram bot where users can get health tips on Sickle Cell Anaemia. Users can get healthy living, harmful things, help a loved one and when to get medical care tips. The bot scrapes health tips from the webmd website. The bot was built to give quick health tips on Sickle Cell Anaemia.
- Ruby
- Launch the Telegram app
- Search for @MySickleBot
- Click start to get started
- Run
/commands
to get the list of commands - Select the type of health tip you want to read
To get a local copy up and running follow these simple example steps.
- Web browser (e.g. Google Chrome or Firefox)
- Code Editor (e.g. Vscode or Atom)
- Telegram app
- Copy this link Telegram-Bot-MySickleBot
- Open your terminal or command line in the folder you want the project to be
- Run the command git clone with the link you copied above
git clone https://github.com/ZeenatLawal/Telegram-Bot-MySickleBot.git
- Once you have a local copy, run
bundle install
to install all gemfiles in the directory - Talk to @BotFather on Telegram to create your bot
- Get your token from the BotFather
- Create a token.rb file in the root directory
- Insert the following line inside the token.rb file: TOKEN = 'Paste the token you got from the BotFather here'
- Run bin/main.rb to get your bot up and running
- Run the following command
bundle exec rspec
orrspec
in the terminal to run all tests in the directory
👤 Zeenat Lawal
- GitHub: @ZeenatLawal
- Twitter: @lawal_zeenat
- LinkedIn: Zeenat Lawal
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Safa Aballagh and Francis Uloko
- Coding Partner Peter MX
- My StandUp Team
- Inspiration got from all Sickle cell warriors (Myself included:smile:)
This project is MIT licensed.