Daysandbox Bot is simple yet effective anti-spam bot. The idea is to delete links and forwarded messages written by users joined chatroom in less than 24 hours ago. This technique allows to delete most of spam messages from new users. Downside of this approach is that any chat member older than 1 day can post anything. This is tradeoff between simplicity and efficiency. You get for free a tool that automatically removes lot of spam messages but not all of it.
Type of messages counted by Daysandbox Bot as possible spam:
@usernamemention pointing to a group or to a channel. If
@usernamepoints to some user then it is not counted as link.
Follow these steps:
@daysandbox_botas admin into your chatroom
/daysandbox_set publog=yes- set bot to write messages into chatroom about each removed spam message
/daysandbox_set publog=no- set bot to remove spam messages silently
/daysandbox_set safe_hours=X- set safe period to X hours. X value should be a number in range 0 < X < 720. In other words, safe period should be grater than zero and less or equal to one month.
/daysandbox_config- display bot config for current chat
/daysandbox_check- check if bot installed correctly
/daysandbox_reload_admins- ask bot to reload admin IDs for current chat. Admins list is collected once and cached. Use this command to update cached data.
All these commands have to be entered in chatroom you want to configure (where bot is installed).
First, complete installation instructions. Then type into chat this command:
/daysandbox_check. Fix any issues bot talkes about.
Admin can just wait for 24 hours and then post links. If you want to delete any link anytime from anybody except admins then just use WatchDog Robot
Bot deletes links only from new users. If user is in chat for more than 24 hours then bot will not delete any message from such user. Also bot does not process any message from users that were in the chat on the moment whent bot was added to the chat. This is because bot can't find out join time of old users, it can do it only for new users that join the chat where bot works already.
It works. Every day @daysandbox_bot deletes about 50-70 thousand spam messages.
Daysandbox does not ban anybody. There is no such feature in the bot.
This feature has been removed from daysandbox.
You may ask question, send feedback or bugreport in these telegram groups: