Skip to content

TryToLiveAlon/BB-GuideBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🤖 BB Guide Bot – Learning Telegram Bot Building

Main Preview

A dynamic learning assistant built on the Bots.Business platform, the BB Guide Bot teaches users how to create their own Telegram bots using interactive lessons, in-chat quizzes, level-up celebrations, and a WebApp-based profile system.

Bots's Username - @BBdocumentBot


🌟 Features

  • 📚 Interactive Lessons
    Learn step-by-step how to build Telegram bots using Bots.Business platform.

  • 🧩 End-of-Step Quizzes
    Quizzes after every key step to test knowledge and unlock progress.

  • 🏆 Live Leaderboard
    Tracks top learners by level and score.

  • 🎉 Level-Up Celebrations
    Fun animations and XP system for streaks and quiz success.

  • 🖥️ WebApp Interface
    Integrated Telegram WebApp for profile, streak tracker, and commands.

  • 📈 Daily Login Streak System
    Encourages continuous learning by rewarding consistency.


🛠️ Admin Panel

The bot supports auto and manual content loading from Google Sheets.

⏱️ Auto-Import (Every 24 Hours)

These sheets are automatically fetched and updated every 24 hours:

Type Source Link Auto-Update Manual Command
📚 Quiz Quiz Sheet /setup1
🧩 Lessons Lesson Sheet /setup
📦 Version Version Sheet /setup2

🔐 Manual Update Access

To run manual /setup, /setup1, or /setup2 commands, you must be the bot owner.
To set yourself as an admin:

  1. Open login.js
  2. Update the first line:
let allowedAdmins = [6140468904, 123456789]; // ✅ Replace with your Telegram user IDs
  1. To find your Telegram ID, use: @chat_id_echo_bot

📄 Google Sheet Formats

🧩 Lesson Sheet Format

id step title description text photo YouTube Video Help extra (JSON)
L1 1 Getting Started How to create your first bot Open Telegram and search for @BotFather https://telegrambots.github.io/book/1/docs/logo-bot-father.jpg https://www.youtube.com/watch?v=MZixi8oIdaA https://help.bots.business/getting-started [{"text": "Open @BotFather", "url": "https://t.me/BotFather"}]
2 When BotFather asks, send /newbot https://8upload.com/image/6892243934132/0b0fcbbc9cac5b2b7afff243eb5793a1.png https://help.bots.business/getting-started

📚 Quiz Sheet Format

lesson_id step question options answer
L1 2 What is the command to create a bot? /start;/help;/newbot /newbot
L1 4 Where to find @BotFather? Telegram App;WhatsApp;Instagram Telegram App
L2 2 What does Bot.sendMessage do? Sends photo;Sends message;Stops bot Sends message
L3 2 What is mainMenu in this code? Command;Name;James Bond Command

📦 Version/Meta Sheet Format

key value
version v6.9.5
template_version 1.5
lang en
updated_at 20.07.2025

🖼️ Screenshots & Media

Description Preview
🤖 Bot DP Bot DP
🚀 Starting Screen Start Screen
👤 Profile WebApp Profile WebApp

🔮 Upcoming Updates

Exciting new features in progress for the BB Guide Bot:

🌐 Multilingual Support (via OpenAI)

We are implementing a smart language-switching feature that will allow users to view lessons, quizzes, and help articles in their preferred language using OpenAI's translation workflow.

✅ Planned Functionality:

  • Users will be able to set their language using ISO 639-1 codes (/setlang)
  • The bot will auto-translate content using OpenAI's language model.
  • Cached translations to minimize latency and API usage.
  • Fallback to English when translation is unavailable.

🛠 Example:

/setlang 

Bot response:

✅ Votre langue préférée a été définie sur : fr

🌐 Toutes les leçons suivantes seront automatiquement traduites en français.

⚙️ This will rely on OpenAI's API and a background worker or cron to update translations in real time or batch mode.


👨‍💻 Developer

A Big thanks to the BB community for the contest love from heart give a visit to there docs and support chat

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published