🇬🇧 Anti spam bot with 5 different protection options
🇹🇷 5 farklı koruma seçenekli anti spam bot
🔥 Repo: HuzunluArtemis/AntiSpamBot
Setting up config file
BOT_TOKEN: Telegram Bot Token. Example:3asd2a2sd32:As56das65d2as:ASd2a6s3d26asAPP_ID: Telegram App ID. Example:32523453API_HASH: Telegram Api Hash. Example:asdasdas6d265asd26asd6as1dasAUTH_IDS: Auth only some groups or users. If you want public, leave it empty or give0. Example:-100656 56191 -10056561BOT_USERNAME: Your bot’s username. without @. Example:AntiSpamBot
Other Variables:
OWNER_ID: Bot’s owner id. Send/idtot.me/MissRose_botin private to get your id Required for logs. If you don’t want, leave it emptyBAN_ALL_NEWCOMERS: SetTrueif you dont want users in your group anymore. DefaultFalseCOMBOT_CAS_ANTISPAM: SetTrueif you want. DefaultFalseINTELLIVOID_ANTISPAM: SetTrueif you want. AI Detection. DefaultFalseSPAMWATCH_ANTISPAM_API: Give Api ID. Get it from@SpamWatchBotin telegramUSERGE_ANTISPAM_API: Give Api ID. Get it from@UsergeAntispamBotin telegramSILENT_BAN: SetTrueif you dont want bot inform you about bans. DefaultFalseUSER_CLEAN_MESSAGE: SetTrueif you want bot inform you about clean users. DefaultFalseAUTO_DEL_SEC: Set3if you want delete bot’s banned message after 3 secs. Give0for no delete. Default0CHECK_ALLOWEDWho can check user ban?authsorpublicordisabledorownerDefaultownerDONT_BANDo not ban. Only show if there is a reason for ban. DefaultFalse
Deploy
Deploy to Heroku:
- Open me in new tab
- Fill required variables
- Fill app name (or dismiss)
Deploy to Local:
- install python to your machine
git clone https://gitlab.com/huzunluartemis/AntiSpamBotcd AntiSpamBotpip install -r requirements.txtpython bot.py
Deploy to Vps:
git clone https://gitlab.com/huzunluartemis/AntiSpamBotcd AntiSpamBot- For Debian based distros
sudo apt install python3 && sudo snap install docker - For Arch and it’s derivatives:
sudo pacman -S docker python
Lisans

You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Yorumlar yüklenmezse JavaScript'i etkinleştir.