Skip to content

Latest commit

ย 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 

Repository files navigation

block_arab for Telegram

This is a python-telegram-bot to handle/filter sent messages that contain any Arabic letters or country emojis.

Installation

You can run this bot on your own, install the required lib by running this command:

pip install python-telegram-bot

First line in the main.py file you will find the bot token variable, get your bot's token from the BotFather and insert it in the code:

your_bot_token = "YOUR_TOKEN_HERE"

These are the current emojis/flags that are being blacklisted:

['๐Ÿ‡ต๐Ÿ‡ธ', '๐Ÿ‡ฆ๐Ÿ‡ช', '๐Ÿ‡ช๐Ÿ‡ฌ', '๐Ÿ‡ฎ๐Ÿ‡ท', '๐Ÿ‡ฎ๐Ÿ‡ถ', '๐Ÿ‡ฏ๐Ÿ‡ด', '๐Ÿ‡ฐ๐Ÿ‡ผ', '๐Ÿ‡ฑ๐Ÿ‡ง', '๐Ÿ‡ธ๐Ÿ‡ฆ', '๐Ÿ‡ถ๐Ÿ‡ฆ', '๐Ÿ‡ธ๐Ÿ‡พ', '๐Ÿ‡พ๐Ÿ‡ช']

About

This is a python-telegram-bot to print and delete sent messages that contain any Arabic letter. Used against spam atm.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages