All Projects → J-Rios → TLG_AntiJoin2SpamBot

J-Rios / TLG_AntiJoin2SpamBot

Licence: GPL-3.0 license
Telegram Bot that figths against Spammers who join groups to publish their annoying and unwanted info. The Bot will watch for all new users that join the group and don't let them to publish messages that contains URLs until they have been in the group long as an specific time, and they have written an enough number of messages (configurable).

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to TLG AntiJoin2SpamBot

mediawiki-antispam
Antispam extension for MediaWiki.
Stars: ✭ 15 (-6.25%)
Mutual labels:  spam, anti-spam, antispam
ruby-antispam
API to have CleanTalk anti-spam on Ruby
Stars: ✭ 16 (+0%)
Mutual labels:  anti-spam, antispam
AntiScam-Bot
Discord bot written on discord.js, deletes messages with scam links.
Stars: ✭ 16 (+0%)
Mutual labels:  anti-spam, anti-spam-bot
ecasbot
EC AntiSpam bot for the Telegram messenger
Stars: ✭ 17 (+6.25%)
Mutual labels:  telegram-bot, anti-spam
joomla2.x-antispam
Anti-spam plugin for Joomla 2.x
Stars: ✭ 10 (-37.5%)
Mutual labels:  anti-spam, antispam
ChineseSensitiveVocabulary
暴恐违禁 文本色情 政治敏感 恶意推广 低俗辱骂
Stars: ✭ 53 (+231.25%)
Mutual labels:  anti-spam, antispam
spamtoberfest
Fight against PR spammers
Stars: ✭ 51 (+218.75%)
Mutual labels:  anti-spam, antispam
php-antispam
A PHP API for antispam service cleantalk.org. Invisible protection from spam, no captches, no puzzles, no animals and no math.
Stars: ✭ 50 (+212.5%)
Mutual labels:  spam, antispam
bitrix-antispam
1C Bitrix anti-spam mod.
Stars: ✭ 10 (-37.5%)
Mutual labels:  anti-spam, antispam
ChatControl-Pro
The ultimate chat solution. Prevent spam, ads, swears and even bots on your server. Replaced by ChatControl Red: https://mineacademy.org/chatcontrol-red
Stars: ✭ 65 (+306.25%)
Mutual labels:  anti-spam, antispam
caldera-forms-anti-spam
Caldera Forms Anti Spam WordPress plugin. This adds Google's reCAPTCHA field to your Caldera Form.
Stars: ✭ 24 (+50%)
Mutual labels:  anti-spam, antispam
tgGuard
frist antispam and group moderator TeleGram bot with fast speed, high power and low space
Stars: ✭ 22 (+37.5%)
Mutual labels:  anti-spam, antispam
Raid-Protect-Discord-Bot
A Discord Bot that allows you to protect your Discord server with captcha, anti profanity, anti nudity image, anti spam, account age required, logs...
Stars: ✭ 182 (+1037.5%)
Mutual labels:  anti-spam, antispam
atlink
🔗 A telegram bot that turns @ links into instagram links both in private chats and groups. Source code for: https://youtu.be/jhFsFZXZbu4
Stars: ✭ 44 (+175%)
Mutual labels:  telegram-bot
telegram-bot-starter
Telegram bot starter based on grammY
Stars: ✭ 181 (+1031.25%)
Mutual labels:  telegram-bot
Youtube-Downloader-Bot
Youtube Downloader Telegram Bot 😉
Stars: ✭ 269 (+1581.25%)
Mutual labels:  telegram-bot
Telegram-collector
Collect all telegram chat users
Stars: ✭ 52 (+225%)
Mutual labels:  spam
AsyncTelegram
Async Arduino Telegram BOT Library for ESP8266 and ESP32
Stars: ✭ 41 (+156.25%)
Mutual labels:  telegram-bot
Google Translater V2
Google Translater v2
Stars: ✭ 30 (+87.5%)
Mutual labels:  telegram-bot
skype-to-telegram
Skype to Telegram bot, for receive your message from skype in telegram
Stars: ✭ 14 (-12.5%)
Mutual labels:  telegram-bot

TLG_AntiJoin2SpamBot

Telegram Bot that figth against the spammer users that join groups to spam their annoying and unwanted info.

Important Notice: The Bot account @The_Anti_Join2Spam_Bot has been closed and has stopped working. The Bot was being hosted by the developer and was offered free for use in any telegram group, however, the Bot has reach more than 600 groups and that starts to affect the Bot functionality (response time) due to low resources of the host machine (and I can't afford to spend more money for a better host). Remember that it is an open-source Bot and anyone can get the source code, host it and create a new telegram account for it.


How to install, setup and execute the Bot:

1 - Install Python3 and their tools:

sudo -i
apt-get install python3
apt-get install python3-pip
pip3 install --upgrade pip
pip3 install --upgrade setuptools

2 - Install python-telegram-bot library using python3-pip tool:

pip3 install python-telegram-bot --upgrade
exit

3 - Download Bot repository and go inside sources directory:

cd TLG_AntiJoin2SpamBot/sources

4 - Change the TOKEN line of Constants file to set the TOKEN of your Bot account (from @BotFather):

nano Constants.py
[Change this line -> 'TOKEN' : 'XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX']

5 - Run the Bot:

A - Run it at normal:
	python3 Anti_Join2Spam_Bot.py

B - Run it in background and unassociated to actual tty (preserve execution when terminal/console is closed):
	nohup python3 Anti_Join2Spam_Bot.py &

6 - Enjoy of a Telegram free of "join2spam" users ;)


Bot help:

  • To get working the Anti-spam, you must add me to a group ang give me Administration privileges to let me delete spam messages.

  • Once I got Admin privileges, I'll watch for all new users that join the group and don't let them to publish messages that contains URLs until they have been in the group long as an specific time, and they have written an enough number of messages.

  • The time that new users need to wait and the number of messages that they need to write before they can publish messages with URLs are, by default, 24 hours and 10 messages, but this values can be modified and configured by using the commands /set_messages and /set_hours.

  • To preserve a clean group, I auto-remove messages related to me, after 5 minutes (except Spam detection messages and Admins calls).

  • Configuration and enable/disable commands just can be used by the group Administrators.

  • You can change the language that I speak, using the command /language.

  • Check /commands for get a list of all avaliable commands, and a short description of all of them.


List of implemented commands:

/start - Show the initial information about the bot.

/help - Show the help information.

/commands - Show the actual message. Information about all the available commands and their description.

/language - Allow to change the language of the bot messages. Actual available languages: en (english) - es (spanish).

/status - Check actual configured values of all properties.

/set_messages - Set how many published messages are need for new users to be allowed to publish URLs in messages.

/set_hours - Set how many hours for new users are need to wait to get allowed to publish URLs in messages.

/call_admins - Call to all Admins of the group.

/call_when_spam - Enable/disable Admins notify when a spam message is detected.

/users_add_bots - Enable/disable allow users to invite and add Bots to the group.

/allow_user - Allow an user to publish URLs in messages.

/enable - Enable the Anti-Spam.

/disable - Disable the Anti-Spam.

/version - Show the version of the Bot.

/about - Show about info.


Notes

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].