Automatically Forward files from groups to channel & FSub

Overview

Backup & ForceSub

Automatically Forward files from groups to channel & Do force sub on members

Variables

  1. API_ID : Get from my.telegram.org
  2. API_HASH : Get from my.telegram.org
  3. BOT_TOKEN : Your telegram bot token from @BotFather
  4. SESSION : Generate from here GenerateStringName
  5. GROUPS : ID of Groups where the bot works (seperate by spaces)
  6. AUTO_DELETE : Give True or False. If True, all messages in groups will be deleted after 10 minutes (not tested).
  7. DB_CHANNEL : ID of the Backup Channel
  8. FSUB_CHANNEL : ID of the ForceSub Channel
  9. CHANNEL_LINK : Invite link of the ForceSub Channel

Make sure:

  • Bot is admin in Groups & ForceSub Channel
  • Account used to create SESSION is member in Groups & admin in Backup Channel

Deploy in Heroku

Deploy

Deploy in your VPS

git clone https://github.com/Arun-TG/Backup-ForceSub
cd Backup-ForceSub
pip3 install -r requirements.txt
# <Create Variables appropriately>
python3 bot.py

Credits

Owner
Arunkumar Shibu
๐Ÿ‘€
Arunkumar Shibu
๐€ ๐ฆ๐จ๐๐ฎ๐ฅ๐š๐ซ ๐“๐ž๐ฅ๐ž๐ ๐ซ๐š๐ฆ ๐†๐ซ๐จ๐ฎ๐ฉ ๐ฆ๐š๐ง๐š๐ ๐ž๐ฆ๐ž๐ง๐ญ ๐›๐จ๐ญ ๐ฐ๐ข๐ญ๐ก ๐ฎ๐ฅ๐ญ๐ข๐ฆ๐š๐ญ๐ž ๐Ÿ๐ž๐š๐ญ๐ฎ๐ซ๐ž๐ฌ

๐‡๐จ๐ฐ ๐“๐จ ๐ƒ๐ž๐ฉ๐ฅ๐จ๐ฒ For easiest way to deploy this Bot click on the below button ๐Œ๐š๐๐ž ๐๐ฒ ๐’๐ฎ๐ฉ๐ฉ๐จ๐ซ๐ญ ๐†๐ซ๐จ๐ฎ๐ฉ ๐’๐จ๐ฎ๐ซ๐œ๐ž๐ฌ ๐†๐ž๐ง๐ž?

Mukesh Solanki 2 Oct 06, 2021
Fully automated Chegg Discord bot for "homework help"

cheggbog Fully automated Chegg Discord bot for "homework help". Working Sept 15, 2021 Overview Recently, Chegg has made it extremely difficult to auto

Bryce Hackel 8 Dec 23, 2022
A Telegram Bot for searching any channel messages from Inline by @AbirHasan2005

Message-Search-Bot A Telegram Bot for searching any channel messages from Inline by @AbirHasan2005. I made this for @AHListBot. You can use this for s

Abir Hasan 44 Dec 27, 2022
Discord bot for playing blindfold chess.

Albin Discord bot for playing blindfold chess written in Python. Albin takes the moves from chat and pushes them on the board without showing it. TODO

8 Oct 14, 2022
Os-Remoter with Python (Telegram Bot)

Remote-Os Os-Remoter with Python (Telegram Bot) [1] First install "python -m pip install --upgrade pip" [2] Second install the modules inside file ins

Alisa Alikhani 2 Nov 09, 2022
A python wrapper for the mangadex API V5. Work in progress

mangadex A python wrapper for the mangadex API V5. It uses the requests library and all the aditional arguments can be viewed in the Official Mangadex

Eduardo Ceja 27 Dec 14, 2022
Discord rich-presence implementation for VALORANT

not working on v1 anymore in favor of v2, but if there's any big bugs i'll try to fix them valorant-rich-presence-client Discord rich presence extensi

colinh 278 Jan 08, 2023
The Dolby.io Developer Days Getting Started with Media APIs Workshop repo.

Dolby.io Developer Days Media APIs Getting Started Application About this Workshop and Application This example is designed to get participants workin

Dolby.io Samples 2 Nov 03, 2022
A Telegram Bot to prevent Night Spams

NightModeBot A Telegram Bot to lock group in night to prevent night spam Setps To Use - Put Variables Correctly. - Add Bot to your group and make admi

ReeshuXD 10 Oct 21, 2022
Make WhatsApp ChatBot and use WhatsApp API to send the WhatsApp messages in python .

Ultramsg.com WhatsApp Bot using WhatsApp API and ultramsg Demo WhatsApp API ChatBot using Ultramsg API with python. Opportunities and tasks: The outpu

Ultramsg 64 Dec 29, 2022
Automated crypto trading bot as adapted from Algovibes.

crypto-trading-bot Automated crypto trading bot as adapted from Algovibes. Pre-requisites Ensure that you have created a Binance API key before procee

Kai Koh 33 Nov 01, 2022
Simple Python script that lets you upload image/video to imgur

Pymgur ๐Ÿ Simple Python script that lets you upload image/video to imgur! Usage ๐Ÿ”จ Git Clone this repository install the requirements (pip install -r

3 Feb 20, 2022
Minecraft name sniper written in python.

โš ๏ธ IMPORTANT โš ๏ธ DO NOT USE MCSNIPERPY -- READ BELOW This sniper does not support Microsoft accounts or prename / gc sniping and is MUCH harder to use

MCsniperPY 201 Dec 30, 2022
A Simple and User-Friendly Google Collab Notebook with UI to transfer your data from Mega to Google Drive.

Mega to Google Drive (UI Added! ๐Ÿ˜Š ) A Simple and User-Friendly Google Collab Notebook with UI to transfer your data from Mega to Google Drive. โš™๏ธ How

Dr.Caduceus 18 Aug 16, 2022
ๆ‘ฉๅฐ”ๅบ„ๅ›ญๆ‰‹ๆธธ่„šๆœฌ

ๆ‘ฉๅฐ”ๅบ„ๅ›ญ BlueStacks ่„šๆœฌ ๆ‰‹ๆธธไธŠ็บฟ๏ผŒๆƒ…ๆ€€ๅ†่ตท๏ผŒไฝ†้ขๅฏนๆธธๆˆไธญๆžฏ็‡ฅๆ— ๅ‘ณ็š„ๆฏๆ—ฅไปปๅŠกๅ’Œ่ต„ๆบ้‡‡้›†๏ผŒไฝ ๆ˜ฏๅฆ่ง‰ๅพ—่‚็–ผๅ‘ข๏ผŸ ๆœฌ้กน็›ฎ้€š่ฟ‡็”Ÿๆˆ BlueStacks ๆจกๆ‹Ÿๅ™จ็š„ๅฎ่„šๆœฌ๏ผŒๅธฎๅŠฉ็ŽฉๅฎถๆŠค่‚ใ€‚ ไฝฟ็”จ่„šๆœฌ่ฏท้˜…่ฏป ไฝฟ็”จๆ–นๅผ ๅ’Œๅฏนๅบ”็š„ ๅŠŸ่ƒฝๅŠ่ฏดๆ˜Ž ่”็ณป Telegram ้ข‘้“ @mole61 Telegram

WH-2099 43 Dec 16, 2022
A modular Telegram Python bot running on python3 with a sqlalchemy database

Nao Tomori Robot Found Me On Telegram As Nao Tomori ๐ŸŒผ A modular Telegram Python bot running on python3 with a sqlalchemy database. How to setup/deplo

Sena 84 Jan 04, 2023
A badge generator service to count visitors of your markdown file.

Github Visitors Badge A badge generator service to count visitors of your markdown file. Hello every one! In this post, I will tell you the story of m

Kษช๊œฑแด€ส€แด€ Pแด‡๊œฑแด€ษดแดŠษชแด›สœ Pแด‡ส€แด‡ส€แด€ ใ€„ 1 Feb 06, 2022
A QQ(Tencent) robot created by go-cqhttp & nonebot2

็ป˜ๆขจ่Šฑ(่ƒถๅธƒ)Bot|ErikaBot โœจ ๅŸบไบŽNoneBot2็š„็ป˜ๆขจ่ŠฑๅคšๅŠŸ่ƒฝ Bot ๏ผŒ่‡ช็”จ โœจ ๅฟซ้€Ÿๅผ€ๅง‹ ๅ‚่€ƒgo-cqhttp้กน็›ฎๆ–‡ๆกฃ๏ผŒ้…็ฝฎๅฅฝๆœบๅ™จไบบ็š„็›ธๅ…ณ่ฎพ็ฝฎ๏ผŒไปฅๅŠๅๅ‘wsๅฎขๆˆท็ซฏ ๅ‚่€ƒnonebot2้กน็›ฎๆ–‡ๆกฃ๏ผŒๆทปๅŠ ๅฟ…่ฆ็š„.env็›ธๅ…ณ่ฎพ็ฝฎ ๅฎ‰่ฃ…ๆœฌ้กน็›ฎ็›ธๅ…ณ็š„ไพ่ต–ๅบ“๏ผˆไพ่ต–ๆธ…ๅ•๏ผ‰ git cloneๆœฌ

10 Aug 09, 2022
The most expensive version of Conway's Game of Life - running on the Ethereum Blockchain

GameOfLife The most expensive implementation of Conway's Game of Life ever - over $2,000 per step! (Probably the slowest too!) Conway's Game of Life r

75 Nov 26, 2022
Boto3 code assistance for any API in any IDE, always up to date

botostubs Gives you code assistance for any boto3 API in any IDE. Get started by running pip install botostubs Demo Features PyPI package automaticall

Jeshan Giovanni BABOOA 94 Nov 14, 2022