Giter Club home page Giter Club logo

file-store-bot's Introduction

File-Store-Bot

Bot generates sharable link inside telegram for documents and make files public via inline search

Deploy

required details

TOKEN - Get bot token from bot father

DOMAIN - Same as app name that you enter in heroku

ADMIN - your account id(if you cant find it use bots like @getidsbot )

BOTUSERNAME - your bot username without '@'

DB_URL - create an account on https://www.mongodb.com/cloud/atlas , database name - mediaFile ,collection name - fileBackup.Click connect and choose 'connect your application'. Copy the link and replace "< password >" with password of user having acess to db and replace "myFirstDatabase" to "mediaFile"

LOG_CHANNEL - create a private channel and get channel ID


Here are some of the admin commands and usage

1.How to ban and unban users

/ban userID

/unban userID

(Get userID from log channel)

How to remove files from bot

you can remove files 3 ways

⚫ Remove individual files with file_id

⚫ Remove all files send by a user

⚫ Remove all files send to the bot

Remove individual files with file_id

/rem file_id

(This will remove files one by one as you give file_id,Get file_id from log channel)

Remove all files send by a user

/remall userID

(You can remove all files send by a particular user if user is sending abusive contents or spam ,Get the userID from log channel)

Remove all files send to b0t

/clear

(This will remove all files send to the bot permenantly)

Send message to users

/send your message to be broadcasted

(You can broadcast text messages to your users ,the message will be send from last joined user to first joined user to reduce spam.Try not to send too many messages at a single time if you have a large number of users)

How to know total bot users

/stats

(You will get total users started your bot,Real time data will be updated after a succesfull broadcast)

Powered By @DevelopedBots 💖

file-store-bot's People

Contributors

kunal-diwan 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.