Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thonatos/antispam

antispam for telegram
https://github.com/thonatos/antispam

telegram

Last synced: 24 days ago
JSON representation

antispam for telegram

Awesome Lists containing this project

README

        

# antispam

> antispam for telegram.

## Usage

### Auth Telegram

login in with your account:

```bash
$ yarn cmd:login
```

then save the sesstion string to `.env` file.

### Config Antispam

you can customize QA with `.env` file.

```ini
ANTISPAM_ANSWER = 1000
ANTISPAM_QUESTION = "This account is protected by Antispam.\nPlease answer the question to continue:\n\n 1024-24=?"

SESSION_STRING = ""

# API_ID = 27197159
# API_HASH = 80aebf9b476b9f2f919d19908f9e317b
# APP_TITLE = prjv20221218

# PROXY_IP = 192.168.1.105
# PROXY_PORT = 1080
# PROXY_SOCKET_TYPE = 5
```

### Run Antispam

```bash
$ yarn
$ yarn build
$ DEBUG=* yarn start // DEBUG=* yarn cmd:run
```