minor upd

This commit is contained in:
Rykov7
2022-11-28 14:32:03 +03:00
parent 3e85722ccd
commit 018a95a8ea
3 changed files with 5 additions and 7 deletions
+3 -3
View File
@@ -5,10 +5,10 @@ Multipurpose Telegram Bot for Python group
* Send links on command (chat rules, FAQs, libraries etc.)
* Ban users and delete messages
* Filter links
* Remind for dates
* Daily statistics publication (how much banned, deleted, sent messages)
* Remind dates
* Daily statistics publication (how many banned, deleted, sent messages)
* Search for the Zen of Python quotes (inline query)
* Help users with googling when they send search query to your group instead of Google
* Help users with googling their queries
* Make faces when doubtful bloggers are mentioned
* Etc. (functionality is growing up)
+1 -3
View File
@@ -1,4 +1,4 @@
from imp import reload
from importlib import reload
from . import config
from . import me
@@ -13,5 +13,3 @@ def reload_modules():
reload(config)
reload(me)
reload(bot_mod)
+1 -1
View File
@@ -89,7 +89,7 @@ def check_delete_list(type_message: types.Message) -> bool:
if type_message.entities:
for entity in type_message.entities:
if entity.url and check_no_allowed(ALLOWED_WORDS, entity.url):
logging.info(f'[DEL] {type_message.from_user.first_name} - {entity.url}')
logging.info(f'[DEL] {type_message.from_user.first_name} - Entity ({entity.url})')
return True