Giter VIP home page Giter VIP logo

private2's Introduction

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.....๐Ÿ˜‡.

If you need any more modes in repo or If you find out any bugs, mention in @XurseXFriends

Features

  • Fully customisable.
  • Customisable welcome & Forcesub messages.
  • More than one Posts in One Link.
  • Can be deployed on heroku directly.

Setup

  • Add the bot to Database Channel with all permission
  • Add bot to ForceSub channel as Admin with Invite Users via Link Permission if you enabled ForceSub

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

Deploy on Railway

Deploy on Railway

Deploy in your VPS

git clone https://github.com/Akeonowl/Private
cd Private
pip3 install -r requirements.txt
# <Create config.py appropriately>
python3 main.py

Admin Commands

/start - start the bot or get posts

/batch - create link for more than one posts

/genlink - create link for one post

/users - view bot statistics

/broadcast - broadcast any messages to bot users

Variables

  • API_HASH buat API HASH di my.telegram.org
  • API_ID buat API ID di my.telegram.org
  • TG_BOT_TOKEN Token Bot dari @BotFather
  • OWNER_ID Owners ID pembuat Bot
  • CHANNEL_ID Channel Database dapatkan id di @TGIdsBot eg:- -100xxxxxxxx
  • ADMINS List ID admin bot, pisahkan dengan spasi jika lebih dari 1 admin
  • START_MESSAGE Masukkan start message atau biarkan default
  • FORCE_SUB_MESSAGEPesan Force Subs channel, ubah sesuai kemauan
  • FORCE_SUB_CHANNEL ID Channel yang mau di Force Subs

Fillings

START_MESSAGE | FORCE_SUB_MESSAGE

  • {first} - Nama depan User
  • {last} - Nama belakang User
  • {id} - User ID
  • {mention} - Mention user
  • {username} - Username

private2's People

Contributors

akeonowl avatar

Watchers

 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.