GithubHelp home page GithubHelp logo

abirhasan2005 / pyrofilesstorebot Goto Github PK

View Code? Open in Web Editor NEW
209.0 9.0 682.0 96 KB

This is Telegram Files Store Bot by @AbirHasan2005

Home Page: https://t.me/MediasStoreBot

Python 98.10% Dockerfile 1.84% Procfile 0.06%
bot database files store telegram-bot

pyrofilesstorebot's Introduction

PyroFilesStoreBot

This is Telegram Parmanent Files Store Bot by @AbirHasan2005.

Features:

  • In PM Just Forward or Send any file it will save on Database & give you the Access Link.
  • In Channel Add Bot as Admin with Edit Rights. When you will send any file or media in Channel it will Edit the Broadcast Message with Saved Link Button.
  • You can also Broadcast anythings via this Bot.
  • You can also Do Force Sub to a Channel to allow access the Bot.
  • Save Multiple Files in Same Link. (Batch)

Demo Bot:

Configs:

  • API_ID - Get this from @TeleORG_Bot
  • API_HASH - Get this from @TeleORG_Bot
  • BOT_TOKEN - Get this from @BotFather
  • BOT_USERNAME - You Bot Username. (Without [@])
  • DB_CHANNEL - A Telegram Channel ID.
    • Make a Channel for Storing Files. We will use that as Database. Channel must be Private! Else you will be Copyright by Telegram DMCA!
  • BOT_OWNER - Bot Owner UserID
    • Put your Telegram UserID for doing Broadcast.
  • DATABASE_URL - MongoDB Database URI
    • This for Saving UserIDs. When you will Broadcast, bot will forward the Broadcast to DB Users.
  • UPDATES_CHANNEL - Force Sub Channel ID (Optional)
    • ID of a Channel which you want to do Force Sub to use the bot.
  • LOG_CHANNEL - Logs Channel ID
    • This for some getting user info. If any new User added to DB, Bot will send Log to that Logs Channel. You can use same DB Channel ID.
  • FORWARD_AS_COPY - Value should be True or False (Optional)
    • If True all messages will be forwarder As Copy. If False all messages will be forwarder with Forward Tag.
  • BROADCAST_AS_COPY - Value should be True or False (Optional)
    • Broadcast with Forward Tag or as Copy.(Without Forward Tag)
  • BANNED_USERS - Banned unwanted members - Put all banned user IDs & Separate with space.
  • BANNED_CHAT_IDS - All Banned Channel IDs (Optional)
    • Put all banned channel IDs & Separate with space.

Video Tutorial:

YouTube

Deploy Now:

Deploy

Commands:

start - start the bot
clear_batch - Clear User Batch Files
status - Show number of users in DB [Owner Only]
broadcast - Broadcast replied message to DB Users [Owner Only]
ban_user - [user_id] [ban_duration] [ban_reason] Ban Any User [Owner Only]
unban_user - [user_id] Unban Any User [Owner Only]
banned_users - Get All Banned Users [Owner Only]

Support Group:

Follow on:

pyrofilesstorebot's People

Contributors

abirhasan2005 avatar alberteinsteintg avatar annihilatorrrr avatar ballicipluck avatar fayasnoushad avatar kgk06 avatar mrvishal2k2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyrofilesstorebot's Issues

New feature request

Sir ye bot only file aur video ko hi save krta h
Aap esme ye feature daal skte ho ki jis se es bot ko jo bhi send kre uska hi share link de ske

Peer id invaild

Screenshot_20210920-210452_Chrome

Getting this error in heroku application log when I start my bot in telegram.

Very big issue

Aapka ye bot only plus messenger m hi work kr rha h

Original telegram pr ye user ko file send nhi kr rha

Aur na hi ab ye heroku pr deploy ho rhi
Heroku khta h ki ye code violent ke kaaran deploy nhi hoga

please help me sir..

i have problem when deploying to railway.app "python3: can't open file 'bot.py': [Errno 2] No such file or directory "Is there an explanation?

Mongodb + Atlas: 'bad auth Authentication failed.', code: 8000,

2022-07-18T07:55:02.112667+00:00 app[worker.1]: return _authenticate_scram(credentials, sock_info, "SCRAM-SHA-1")
2022-07-18T07:55:02.112667+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/auth.py", line 241, in _authenticate_scram
2022-07-18T07:55:02.112667+00:00 app[worker.1]: res = sock_info.command(source, cmd)
2022-07-18T07:55:02.112667+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/pool.py", line 743, in command
2022-07-18T07:55:02.112668+00:00 app[worker.1]: return command(
2022-07-18T07:55:02.112668+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/network.py", line 160, in command
2022-07-18T07:55:02.112668+00:00 app[worker.1]: helpers._check_command_response(
2022-07-18T07:55:02.112669+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/helpers.py", line 180, in _check_command_response
2022-07-18T07:55:02.112669+00:00 app[worker.1]: raise OperationFailure(errmsg, code, response, max_wire_version)
2022-07-18T07:55:02.112670+00:00 app[worker.1]: pymongo.errors.OperationFailure: bad auth : Authentication failed., full error: {'ok': 0, 'errmsg': 'bad auth : Authentication failed.', 'code': 8000, 'codeName': 'AtlasError'}

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.