Skip to content

burkoA/Telegram-Bot-Books-Recommendation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📚 Books Recommendation Bot

Welcome to the Books Recommendation Bot! This Telegram bot helps you discover interesting books by filtering them by author, genre, or year. It’s designed to make finding your next read easy. In this project, I use MS SQL, .NET 8, LINQ, and the last version of Telegram Bot Library (21.11.0)

Features 🪛

  • 🔎 Find books: Search for books by author, genre, or year
  • 📋 Author List: In bot you can find a link to view a list of authors
  • 🎮 Interactive: The bot includes interactive buttons and choices
  • 🎯 Genre Selection: Choose up to two genres available in the database to find books
  • 📆 Year Filter: Enter 1 or 2 dates to search for books
  • 🗄️ Books Database: The bot fetches data from an internal BooksDB for recommendations

Setup Instructions ⚙️

  1. Clone the repository by pressing green button Code🟩
  2. Set up your bot token in the _botClient field in Main. For better security (since it's hardcoded in this code), you can change it to Environment.GetEnvironmentVariable("") or configure it in your appsettings.json
  3. Change connection string in BooksDB to match your configuration
  4. Finally, run your telegram bot😄

Commands Overview 🗔

  • /start - get a welcome message with available options
  • /findbook - start the process of finding book by selecting author, genre, or year
  • /description - learn about the bot
  • /help - get a list of all available commands

How It Works ❓

  1. Start the Bot: Type /start to receive introduction and a menu of options
  2. Press /findbook
  3. Choose Your Search Method:
    • Author: Enter the name of the author, if you can't find author go to the view with authors list
    • Genre: Select from a list of genres
    • Year: Choose a specific year or range
  4. Get your recommendation 😆

Contributing 🤝

Feel free to open issues or submit pull requests for any suggestions or improvements. I welcome your feedback! 😃

You can send me mail: arsenburko67@gmail.com or find me in telegram @arssssssssssssssssssss

About

It's easy telegram bot for finding interesting book by author, genre or years

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages