Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thonatos/antispam
antispam for telegram
https://github.com/thonatos/antispam
telegram
Last synced: 24 days ago
JSON representation
antispam for telegram
- Host: GitHub
- URL: https://github.com/thonatos/antispam
- Owner: thonatos
- Created: 2022-12-19T01:27:50.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-25T17:26:27.000Z (almost 2 years ago)
- Last Synced: 2024-10-05T01:51:51.383Z (about 1 month ago)
- Topics: telegram
- Language: TypeScript
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```