Skip to content

4myr/tabchi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tabchi -AMYR -Python

My Telegram: @SudoYUM

An adverstiment telegram bot that developed by Telethon python library.

Features:

  • Gathering supergroups invite links
  • Joining supergroups
  • Send random advertisement to groups
  • Send random banner to private chats\
  • Enable/disable Joining groups, Sending advertisement, Sending Banners
  • Prevent joining channels
  • Set maximum groups
  • Set delay for joining groups & sending advertisement to groups
  • Send advertisement only once per user
  • Detecting & Block advertisement and not usable supergroups
  • Sharing configs & data between multiple accounts

Commands:

  • !ping (بررسی آنلاین بودن ربات)
  • !stats (دریافت آمار و وضعیت کامل ربات)
  • !set [cron|groups|join|bot] [value] (تنظیم فاصله بین دو تبلیغ | حداکثر گروه ها | فاصله بین دو جوین | ربات)
  • !clear [adv|banner|users] (پاک کردن تمام متن های تبلیغ | متن های بنر در خصوصی | کش کاربران دریافت کننده تبلیغ)
  • !adv (لیست تمام متن های تبلیغات در گروه ها)
  • !adv [text] (ایجاد یک متن تبلیغ جدید)
  • !adv [on|off] (روشن و خاموش کردن تبلیغ در گروه ها)
  • !banner (لیست تمام متن های تبلیغات در خصوصی)
  • !banner [text] (ایجاد یک متن تبلیغ خصوصی جدید)
  • !banner [on|off] (روشن و خاموش کردن تبلیغ در خصوصی)
  • !join [on|off] (روشن و خاموش کردن جوین لینک ها)
  • And other commands...

Installation (Ubuntu 18.04)

First, clone repository in your specific path:

$ cd ~
$ git clone https://github.com/4myr/tabchi
$ cd tabchi

Then, install redis, python3 and telethon library by pip3

$ sudo apt update
$ sudo apt install -y redis redis-tools python3 python3-pip screen
$ pip3 install --upgrade pip
$ pip3 install telethon psutil redis

Now, edit config.py file by:

$ nano config.py

Enter your Telegram Chat ID, API KEY & API HASH between quotes

Then, launch bot using:

$ screen ./launch.sh

or

python3 main.py [instance_name]

For first time you must login your account and for next times you don't need login. You can use CTRL + A + D for deattach screen.

About

Advertimenter Telegram Cli Bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published