🇬🇧 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:ASd2a6s3d26as
APP_ID
: Telegram App ID. Example:32523453
API_HASH
: Telegram Api Hash. Example:asdasdas6d265asd26asd6as1das
AUTH_IDS
: Auth only some groups or users. If you want public, leave it empty or give0
. Example:-100656 56191 -10056561
BOT_USERNAME
: Your bot’s username. without @. Example:AntiSpamBot
Other Variables:
OWNER_ID
: Bot’s owner id. Send/id
tot.me/MissRose_bot
in private to get your id Required for logs. If you don’t want, leave it emptyBAN_ALL_NEWCOMERS
: SetTrue
if you dont want users in your group anymore. DefaultFalse
COMBOT_CAS_ANTISPAM
: SetTrue
if you want. DefaultFalse
INTELLIVOID_ANTISPAM
: SetTrue
if you want. AI Detection. DefaultFalse
SPAMWATCH_ANTISPAM_API
: Give Api ID. Get it from@SpamWatchBot
in telegramUSERGE_ANTISPAM_API
: Give Api ID. Get it from@UsergeAntispamBot
in telegramSILENT_BAN
: SetTrue
if you dont want bot inform you about bans. DefaultFalse
USER_CLEAN_MESSAGE
: SetTrue
if you want bot inform you about clean users. DefaultFalse
AUTO_DEL_SEC
: Set3
if you want delete bot’s banned message after 3 secs. Give0
for no delete. Default0
CHECK_ALLOWED
Who can check user ban?auths
orpublic
ordisabled
orowner
Defaultowner
DONT_BAN
Do 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/AntiSpamBot
cd AntiSpamBot
pip install -r requirements.txt
python bot.py
Deploy to Vps:
git clone https://gitlab.com/huzunluartemis/AntiSpamBot
cd 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.