Skip to content

Tasheka/Telegram_Bot-Budgetbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Name

Ruby Capstone: Telegram Bot - Budgetbot

This project is a bot created using telegram that takes a users incomes and expenses, and calculates the total income, total expenses and the remaining amount the user will have once he/she has paid his//her expenses. The bot also gives random financial tips and tricks when requested.

screenshot screenshot

Built With

  • Ruby
  • Rspec
  • Telegram's BotFather

Live Demo

Live Demo Link

Getting Started

To run this bot locally, you will need to have:

  • A Telegram account
  • Ruby installed
  • Rspec installed
  • Gems installed
  • A terminal

Once you have all the above listed:

  • Create a clone of this repository.
  • In your terminal, type 'bundle install' to install the required gems
  • Create a 'token.rb' file.
  • In this token.rb file, create a class called 'TokenConfiguration', containinng a method called 'token'. Paste the provided token in the method inside single quotes ' '.
  • From your terminal move into the bin folder by using the 'cd' command
  • Run the bot.rb file by typing 'bot.rb' in your terminal.
  • Search for your bot in Telegram
  • Select the 'start' button to begin or type '/start' to begin

To test this bot using Rspec:

  • In your terminal, from the root folder, type 'rspec'

Financial Tips and Tricks Origin

The tip annd tricks quotes were taken from the following websites: https://www.thebalance.com/top-ten-financial-tips-1289309 and https://www.oberlo.com/blog/personal-finance-tips

Authors

👤 Tasheka Hamilton

🤝 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!

📝 License

This project is MIT licensed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages