Lang Blocker Bot can remove messages written in unwanted languages. For example, if your chat is for Russian speaking people and you want to block Arabic, Chinese and Iranian spam you can install bot into your chat and configure it to delete messages written in these languages.
Follow these steps:
@lang_blocker_botas admin into your chatroom
/lang_blocker block LANG- block messages written in this language. LANG have to be code of language, you can use multiple codes separated by command. See FAQ how to find code of language.
/lang_blocker allow LANG- allow messages written in this language. LANG have to be code of language, you can use multiple codes separated by command. See FAQ how to find code of language. By default all languages are allowed. This command does make sense only if you have blocked that language before.
/lang_blocker detect- reply to message with that command to get language of message. Bot will write language code in reponse.
/lang_blocker config- see bot configuration for current chat i.e. see which languages are blocked
/lang_blocker check- check if bot is installed correctly.
/lang_blocker set notify_actions=yes- tell bot to log his actions into chat
/lang_blocker set notify_actions=no- tell bot to remove messages silently
/lang_blocker 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 sent to the chat which you want to configure. Do not send this command in private message to the bot, it will ignore such private messages.
Just forward message to bot and it will respond you with code and name of language of the forwarded message. Repeat this for multiple spam messages from your chat and get and idea of what languages you want to block.
Also you can just reply to message with commnd
/lang_blocker detect and bot will write language of message to chat.
First, complete installation instructions. Then type into chat this command:
/lang_blocker check. Fix any issues bot talkes about.
If you need to block undesired content these bots could be helpful: @daysandbox_bot, @freqrobot, @grep_robot, @hushrobot, @joinhider_bot, @noarab_bot, @nohello_robot, @nosticker_bot, @orgrobot, @tagchannelbot, @watchdog_robot, @wikirobot.
You may ask question, send feedback or bugreport in these telegram groups: