Почти полностью рабочая версия
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ def handle_vk_post():
|
||||
new_post = vk.wall.post(
|
||||
owner_id=-vkApi.group_id,
|
||||
from_group=1,
|
||||
message=f"{vkPost.dynamic_text}{vkPost.static_text}".strip(),
|
||||
message=f"{vkPost.dynamic_text}\n{vkPost.static_text}".strip(),
|
||||
attachments=f"photo-{vkApi.group_id}_{vkApi.base_photo_url}",
|
||||
)
|
||||
logger.info(f"Пост #{new_post.get('post_id')} создан")
|
||||
|
||||
Reference in New Issue
Block a user