Skip to content

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. Built with Ruby.

License

Notifications You must be signed in to change notification settings

ZeenatLawal/Telegram-Bot-MySickleBot

Repository files navigation

Telegram-Bot-MySickleBot

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

screenshot

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.

Built With

  • Ruby

How MySickleBot works

  • 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

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • Web browser (e.g. Google Chrome or Firefox)
  • Code Editor (e.g. Vscode or Atom)
  • Telegram app

Setup

  • 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 tests

  • Run the following command bundle exec rspec or rspec in the terminal to run all tests in the directory

Author

👤 Zeenat Lawal

🤝 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

📝 License

This project is MIT licensed.

About

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. Built with Ruby.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages