Sachinanand99 / File-Sharing-Telegram-bot

GNU General Public License v3.0
19 stars 35 forks source link

File-sharing-Bot

Telegram Bot to store Posts and Documents and it can Access by Special Links. I Guess This Will Be Usefull For Many People.....πŸ˜‡.

Changelogs

  1. added code system. You should provide users the code with bot tag instead of the link. If your bot got banned it will be tough to change every link of your channel.
  2. user need to use /ch2l command for converting to link.
  3. fixed single force sub channel issue.
  4. U_S_E_P variable for adding shortners on all the link of bot generated by bot. (Also used with code system) If any bug found report
  5. Put TIME=0 for not deleting the files shared.
  6. Fixed premium user issue.

Features

Setup

Installation

Deploy on Heroku

BEFORE YOU DEPLOY ON HEROKU, YOU SHOULD FORK THE REPO AND CHANGE ITS NAME TO ANYTHING ELSE
Deploy


Check This Tutorial Video on YouTube for any Help
Thanks to Erich and his InFoTel for this Video

Deploy on Railway

Deploy on Railway

Deploy on Koyeb

The fastest way to deploy the application is to click the Deploy to Koyeb button below.

Deploy to Koyeb

Deploy in your VPS

git clone https://github.com/Sachinanand99/File-Sharing-Bot.git
cd File-Sharing-Bot
pip3 install -r requirements.txt
# <Create config.py appropriately>
#if you are using any hosting services use dotenvtemplate.txt for putting environment variables
python3 main.py

Basic Commands

Secret Commands

Variables

⚑ Use TRUE instead of True or true.

Token verification variables

Premium Verification variable

Extra Variables

Fillings

START_MESSAGE | FORCE_SUB_MESSAGE

CUSTOM_CAPTION

CUSTOM_STATS

Required Environment Variables

Report Bugs, Give Feature Requests at https://github.com/Sachinanand99/File-Sharing-Telegram-bot/issues

Credits

Star this Repo if you Liked it ⭐⭐⭐