Async problems...

This commit is contained in:
2024-02-13 16:04:47 +03:00
parent 7a960054bc
commit 02bd67e34a
6 changed files with 37 additions and 17 deletions

View File

@@ -14,6 +14,7 @@ class PostCommand(MessageHandlerABC):
settings = neuroTypes.BotSettings.get_instance()
try:
post = await neuroapi.post.get_post_to_post()
print(post)
if (post):
images = MediaGroupBuilder(
caption=post.text + '\n\nПредложка: @neur0w0men_reply_bot', caption_entities=post.message_entities)