Giter Club home page Giter Club logo

atom-test's Introduction

ChannelAutoPost

A Channel Auto Post (User)Bot To Forward All New Posts Of A Channel To Another! hihi Make sure to add bot to both/all the channel and promote, if you are using userbot you just need to be admin in the TO_CHANNEL, and just join the FROM_CHANNEL channels to forward simple :)

Session String

generate_string

Installation Guide:

Local

The Normal Way

Simply clone the repository and run the main file:

git clone https://github.com/EmiliaDevs/ChannelAutoPost
cd ChannelAutoPost
virtualenv -p /usr/bin/python3 venv
. ./venv/bin/activate
pip install -r requirements.txt
# <Create Config.py with variables as given below>
python3 -m ChannelAutoPost

An example Config.py file could be:

Not All of the variables are mandatory

The (User)bot should work by setting only the first three variables

from heroku_config import Var

class Config(Var):
  APP_ID = 6
  API_HASH = "eb06xxxxxxxxxxxx"
  BOT_TOKE = "1234567890:xxxxxxxxxxxx"  
Heroku

Heroku Configuration

Simply just leave the Config as it is.

Deploy To Heroku

Mandatory Vars

  • Only three of the environment variables are mandatory.
  • This is because of telethon.errors.rpc_error_list.ApiIdPublishedFloodError
  • The userbot will not work without setting the mandatory vars.

Disclaimer:

    	Improper use may lead to ban.
    	I am not responsible if you misuse this bot.

Credits:

Lonami, for Telethon

atom-test's People

Contributors

emiliadevs avatar geronimolover 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.