Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vsalavatov/telegram-report-bot
https://github.com/vsalavatov/telegram-report-bot
ban bot reporting spam telegram vote
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/vsalavatov/telegram-report-bot
- Owner: vsalavatov
- Created: 2020-06-02T20:18:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-03T11:26:53.000Z (over 4 years ago)
- Last Synced: 2024-10-27T17:42:34.640Z (3 months ago)
- Topics: ban, bot, reporting, spam, telegram, vote
- Language: Kotlin
- Homepage:
- Size: 75.2 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Telegram Report Bot
This bot accumulates statistics on members activity
and gives a _vote power_ to those who seem to be adequate.
Admins have the power to ban any normal members.Active members can use their vote power to report messages.
If enough members consider a message harmful then the bot will kick the author
of that message out of the group and delete the message.Commands:
* `/report` - Used with reply on suspicious messages. Available to all members.
Starts a vote poll. The ban is performed if number of votes reaches chat's limit;Admin commands:
* `/setReportVoteLimit ` - Sets new vote number limit for current chat;
* `/setMinutesToGainVotePower ` - Sets new time period for giving vote power.
Member will not obtain a vote power if a time period since their first message is less than specified;
* `/setMessagesToGainVotePower ` - Sets new lower bound for giving vote power.
Member will not obtain a vote power until they communicate enough in the chat.## Usage
Clone and run
```shell script
$ gradlew build installDist
```
to build and install.
Executables are located in the `build/install/telegram-report-bot/bin` subdirectory.
Run
```shell script
$ ./telegram-report-bot --help
```
to get further information.
Supports SOCKS5 proxy.