Giter Site home page Giter Site logo

bottpalembang / getter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kastaid/getter

0.0 0.0 0.0 163 KB

Get and put users (scraping) to the target group/channel efficiently, correctly and safety.

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

License: GNU Affero General Public License v3.0

Shell 0.68% Python 98.43% Dockerfile 0.87% Procfile 0.02%

getter's Introduction

getter

Get and put users (scraping) to the target group/channel efficiently, correctly and safety.

CI Codacy grade LICENSE Telegram
Version Size Issues Stars Forks

#include <std/disclaimer.h>
/*
*   Your Telegram account may get banned.
*   We are not responsible for any improper use of this userbot.
*   This userbot is specific for scraping members with some helpfull commands.
*
*   If you ended up spamming groups, getting reported left and right,
*   and you ended up in being fight with Telegram
*   and at the end Telegram Team deleted your account. DON'T BLAME US.
*
*   No personal support will be provided / We won't spoon feed you.
*   If you need help ask in our support group 
*   and we or our friends will try to help you.
*/

Table of Contents

Details

Requirements

STRING_SESSION

Generate STRING_SESSION using @strgen_bot or replit or run locally python3 session.py

Deploy

To deploy please visit our channel at @kastaid.

Locally

Config

Create and save config.env file at main directory and fill with the example config file at sample_config.env.

Run

# Production
pip3 install -r requirements.txt
python3 -m getter

# Development
pip3 install -r requirements.txt
pip3 install -r requirements-dev.txt
python3 -m run --watch

More commands python3 -m run -h

Example Plugin

Clone the repo, then create and save plugin at ./getter/plugins/plugin_name.py.

This Example Works Everywhere. (e.g. Groups, Personal Chats)

from . import kasta_cmd
@kasta_cmd(pattern="hi")
async def hello_world_example(event):
    await event.eor("Hello **World**.")

This Example Works Only In Personal Chats.

from . import kasta_cmd
@kasta_cmd(pattern="hi", func=lambda x: x.is_private)
async def hello_world_example(event):
    await event.eor("Hello **World**.")

This Example Works Only In Channels.

from . import kasta_cmd
@kasta_cmd(pattern="hi", func=lambda x: x.is_channel and x.chat.broadcast)
async def hello_world_example(event):
    await event.eor("Hello **World**.")

This Example Works Only In Groups.

from . import kasta_cmd
@kasta_cmd(pattern="hi", func=lambda x: x.is_group)
async def hello_world_example(event):
    await event.eor("Hello **World**.")

This Example Works Only In Groups or Channels.

from . import kasta_cmd
@kasta_cmd(pattern="hi", func=lambda x: not x.is_private)
async def hello_world_example(event):
    await event.eor("Hello **World**.")

Credits

and everyone ๐Ÿฆ„

Contributing

If you would like to help out with some code, check the details.

License

This project is licensed under the GNU Affero General Public License v3.0.

getter's People

Contributors

notudope avatar unknownkz 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.