Skip to content

rejaakif202-byte/LINK-SHAREBOT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

─「Lɪɴᴋ sʜᴀʀᴇ ʙᴏᴛ」─

Bot Channels

Typing SVG

A powerful and dynamic Telegram bot designed to share links from specific channels, protecting them from copyright issues. It features a fully interactive, button-based UI and can be configured dynamically by the owner.


🚀 Features

  • Advanced Link Sharing: Securely share links from your channels.
  • FORCE SUBSCRIBE: Ensure users join designated channels before they can access links.
  • Button-Based UI: Modern, easy-to-use interface with inline buttons instead of text commands.
  • Dynamic Content: Rich messages with images and styled text using blockquotes.
  • In-Bot Configuration: The bot owner can manage all important settings directly from the bot's UI.
  • Secure: No hardcoded credentials. All sensitive information is loaded from environment variables.

🤖 Bot Commands

/start - Sᴛᴀʀᴛ ᴛʜᴇ ʙᴏᴛ 
/settings - Tᴏ ᴄʜᴀɴɢᴇ ᴛʜᴇ ʙᴏᴛ sᴇᴛᴛɪɴɢs ᴅʏɴᴀᴍɪᴄᴀʟʟʏ (ᴀᴅᴍɪɴ)
/genlink - Tᴏ ᴄʀᴇᴀᴛᴇ ʟɪɴᴋs sɪɴɢʟᴇ (ᴀᴅᴍɪɴ)
/batch - Tᴏ ᴄʀᴇᴀᴛᴇ ʟɪɴᴋs ɪɴ ᴀ ʙᴀᴛᴄʜ (ᴀᴅᴍɪɴ)
/broadcast - Tᴏ ʙʀᴏᴀᴅᴄᴀsᴛ Yᴏᴜʀ ᴍᴇssᴀɢᴇ (ᴀᴅᴍɪɴ)

🛠️ How to Deploy

You can easily deploy this bot yourself. Follow the steps below.

Prerequisites

Deployment Steps

  1. Clone the repository:

    git clone https://github.com/abhinai2244/LINK-SHAREBOT.git
    cd LINK-SHAREBOT
  2. Install dependencies:

    pip install -r requirements.txt
  3. Set up Environment Variables: Create a .env file in the root directory or set the following environment variables in your deployment environment:

    Variable Description
    TG_BOT_TOKEN Your Telegram bot token from @BotFather.
    API_ID Your Telegram App ID.
    API_HASH Your Telegram App Hash.
    DB_URI Your MongoDB connection URL.
    OWNER_ID Your numerical Telegram User ID.
    DATABASE_CHANNEL The ID of the channel where the bot will send logs/notifications.

    Optional Variables: You can customize the bot further with these optional variables: DB_NAME, START_PIC, FSUB_PIC, HELP_PIC, etc.

  4. Run the bot:

    python3 bot.py

Credits:-

This bot was made possible with the help and support of the following individuals:


About

A powerful and dynamic Telegram bot designed to share links from specific channels, protecting them from copyright issues. It features a fully interactive, button-based UI and can be configured dynamically by the owner.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 99.9%
  • Other 0.1%