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

https://github.com/deepanik/arianadelkickbot


https://github.com/deepanik/arianadelkickbot

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# ArianaDelKickBot (ADAB)
Automatically kick deleted accounts

Based on [uniborg](DeepAnik/uniborg), a pluggable
[``asyncio``](https://docs.python.org/3/library/asyncio.html)
[Telegram](https://telegram.org) userbot based on
[Telethon](LonamiWebs/Telethon).

## Installation
1. Clone uniborg

```sh
git clone https://github.com/deepanik/uniborg.git ArianaDelKickBot
cd uniborg
```

2. Remove unwanted plugins or the plugin directories (stdplugins, and botplugins)

3. Add your config into config.py, following the instructions in config.example.py

```python
id = 12345 # Your API ID
hash = "11223344556677889900AABBCCDDEEFF" # API Hash
admins = 12346789 # Any "admins" for the bot that will be able to reload the plugins
```

4. Clone ADAB

```sh
cd botplugins
git clone https://github.com/deepanik/arianadelkickbot.git .
```

5. Run `python stdbot.py`

## FAQ
1. A user deleted their account, why hasn't the bot kicked them yet?

* ADAB only checks for deleted accounts ONCE per hour at most. And it will only check for deleted accounts if a message was sent to the group. This behaviour will keep the bot from slowing down, and filters out inactive groups.

2. Does ADAB kick or ban deleted accounts?

* ADAB kicks deleted accounts (ban + unban).

3. Does ADAB work in channels?

* Yes. It doesn't matter what permission you give it in broadcast channels, all channel admins have the permission to kick/ban.

4. How do I run it persistently, or in the background?

* Use something like tmux: `tmux new -ds ArianaDelKickBot "python3 stdbot.py"`

BOT CRIDIT : Qwerty-Space