https://github.com/deepanik/arianadelkickbot
https://github.com/deepanik/arianadelkickbot
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/deepanik/arianadelkickbot
- Owner: deepanik
- License: gpl-3.0
- Created: 2021-02-03T03:07:34.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-03T05:56:42.000Z (over 4 years ago)
- Last Synced: 2023-08-08T19:41:19.445Z (almost 2 years ago)
- Language: Python
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ArianaDelKickBot (ADAB)
Automatically kick deleted accountsBased 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