Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/4myr/tabchi
Advertimenter Telegram Cli Bot
https://github.com/4myr/tabchi
Last synced: about 2 months ago
JSON representation
Advertimenter Telegram Cli Bot
- Host: GitHub
- URL: https://github.com/4myr/tabchi
- Owner: 4myr
- License: mit
- Created: 2020-12-09T17:00:23.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-02T11:47:43.000Z (over 3 years ago)
- Last Synced: 2024-06-28T11:33:51.050Z (3 months ago)
- Language: Python
- Homepage:
- Size: 90.8 KB
- Stars: 9
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tabchi -AMYR -Python
My Telegram: [@SudoYUM](https://t.me/SudoYUM)An adverstiment telegram bot that developed by [Telethon](https://github.com/LonamiWebs/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:
```sh
$ cd ~
$ git clone https://github.com/4myr/tabchi
$ cd tabchi
```Then, install redis, python3 and telethon library by pip3
```sh
$ 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:
```sh
$ nano config.py
```
Enter your Telegram Chat ID, API KEY & API HASH between quotesThen, launch bot using:
```sh
$ screen ./launch.sh
```
or
```sh
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.