Some fixes

This commit is contained in:
2024-02-11 12:41:41 +03:00
parent f3cdeeff3c
commit 883479b0d8
3 changed files with 11 additions and 9 deletions

View File

@@ -78,7 +78,6 @@ class Post(ApiMethod):
if message_entities is not None:
mes_ent = list(map(lambda x: x.model_dump(), message_entities))
arr =[]
print(mes_ent)
for item in mes_ent:
if item['type'] == 'bot_command': continue
item['offset'] -= 7+len(order)