Giter Club home page Giter Club logo

file-store-token's Introduction

Typing SVG

━━━━━━━━━━━━━━━━━

- ᴄᴏᴍᴍᴀɴᴅs ᴀɴᴅ ᴠᴀʀɪᴀʙʟᴇs (New features) •

Basic Commands

  • /ch2l - convert hash to link here
  • /start - Check whether bot is online
  • /ping - For checking ping of the bot
  • /stats - Uptime of the bot (admin only)
  • /users - Total users active (admin only)
  • /batch - To generate the link in batch (admin only)
  • /genlink - To generate link (admin only)
  • /auth - For using the bot which will send the ID to the owner's DM. The owner will add the admin to config file and restart the bot.
  • /add_prem - adding user to premium services(admins only)
  • /restart - For restarting the bot(admins only)
  • /admins - list all admins(admins only)
  • /add_admin - For adding new admins(owner only) restart recommended
  • /del_admin - For removing admins(owner only) restart recommended

Secret Commands

  • /broadcast - Reply to any message to broadcast it to all users(owner only).

Variables

  • API_HASH Your API Hash from my.telegram.org
  • APP_ID Your API ID from my.telegram.org
  • TG_BOT_TOKEN Your bot token from @BotFather
  • OWNER_ID Must enter Your Telegram Id
  • CHANNEL_ID Your Channel ID eg:- -100xxxxxxxx
  • DATABASE_URL Your mongo db url
  • DATABASE_NAME Your mongo db session name
  • TIME Time in seconds for message to get delete after downloading file
  • ADMINS Optional: A space separated list of user_ids of Admins, they can only create links
  • START_MESSAGE Optional: start message of bot, use HTML
  • FORCE_SUB_MESSAGEOptional:Force sub message of bot, use HTML and Fillings
  • FORCE_SUB_CHANNEL Optional: ForceSub Channel ID, leave 0 if you want disable force sub
  • FORCE_SUB_CHANNEL2 Optional: ForceSub Channel ID, leave 0 if you want disable force sub 2, bot may become a bit slower if you add this.
  • PROTECT_CONTENT Optional: True if you need to prevent files from forwarding

Token verification variables

  • USE_SHORTLINK Turn this feature on or off using True or False
  • SHORTLINK_API_URL Your Shortner url api.shareus.io,
  • SHORTLINK_API_KEY shortner api key.
  • VERIFY_EXPIRE verify expire time in seconds.
  • TUT_VID Verification tutorial video link. eg: https://t.me/How_to_Download_7x/32

Premium Verification variable

  • USE_PAYMENT Turn this feature on or off using True of False
  • UPI_ID Enter your UPI id
  • UPI_IMAGE_URL Enter your UPI QR
  • SCREENSHOT_URL Enter your profile link for verification of the users
  • PRICE1 7 days price
  • PRICE2 1 month price
  • PRICE3 3 month price
  • PRICE4 6 month price
  • PRICE5 1 year price

Extra Variables

  • CUSTOM_CAPTION put your Custom caption text if you want Setup Custom Caption, you can use HTML for formatting (only for documents)
  • DISABLE_CHANNEL_BUTTON Put True to Disable Channel Share Button, Default if False
  • BOT_STATS_TEXT put your custom text for stats command, use HTML
  • USER_REPLY_TEXT put your text to show when user sends any message, use HTML

Fillings

START_MESSAGE | FORCE_SUB_MESSAGE

  • {first} - User first name
  • {last} - User last name
  • {id} - User ID
  • {mention} - Mention the user
  • {username} - Username

CUSTOM_CAPTION

  • {filename} - file name of the Document
  • {previouscaption} - Original Caption

CUSTOM_STATS

  • {uptime} - Bot Uptime

Required Environment Variables

  • TG_BOT_TOKEN
  • APP_ID
  • API_HASH
  • DB_URL
  • CHANNEL_LINK
  • CHANNEL_ID
  • OWNER_ID
  • OWNER_TAG

Report Bugs, Give Feature Requests at ᴄᴏᴅᴇғʟɪx ʙᴏᴛssᴜᴘᴘᴏʀᴛ ᴄʜᴀᴛ

- ᴅᴇᴘʟᴏʏᴍᴇɴᴛ ᴍᴇᴛʜᴏᴅs

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ʜᴇʀᴏᴋᴜ 」─

Deploy On Heroku

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ᴋᴏʏᴇʙ 」─

Deploy On Koyeb

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ʀᴀɪʟᴡᴀʏ 」─

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ʀᴇɴᴅᴇʀ 」─

Deploy to Render

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ᴠᴘs 」─

git clone https://github.com/Codeflix-Bots/File-Store-Bot-Token-Verification
# Install Packages
pip3 install -U -r requirements.txt
Edit info.py with variables as given below then run bot
python3 bot.py

「 ᴄʀᴇᴅɪᴛs 」

ᴀɴᴅ ᴀʟʟ ᴛʜᴇ ᴄᴏɴᴛʀɪʙᴜᴛᴏʀs ᴡʜᴏ ʜᴇʟᴩᴇᴅ ɪɴ ᴍᴀᴋɪɴɢ ғɪʟᴇ sᴛᴏʀᴇ ʙᴏᴛ ᴡɪᴛʜ ᴛᴏᴋᴇɴ ᴠᴇʀɪғɪᴄᴀᴛɪᴏɴ ᴜsᴇꜰᴜʟ & ᴩᴏᴡᴇʀꜰᴜʟ 🖤

📌 𝑵𝒐𝒕𝒆

ᴊᴜꜱᴛ ꜰᴏʀᴋ ᴛʜᴇ ʀᴇᴘᴏ ᴀɴᴅ ᴇᴅɪᴛ ᴀꜱ ᴘᴇʀ ʏᴏᴜʀ ɴᴇᴇᴅꜱ.

file-store-token's People

Contributors

codeflix-bots avatar alokchauhan11 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.