Установка всех аватаров для удобства
This commit is contained in:
15
BotCode/routers/downloads/download_avatar_all.py
Normal file
15
BotCode/routers/downloads/download_avatar_all.py
Normal file
@@ -0,0 +1,15 @@
|
||||
# BotCode/routers/downloads/download_avatar_all.py
|
||||
# Объединение закачки аватаров всех типов
|
||||
|
||||
from .download_chat_avatar import download_chat_avatar
|
||||
from .download_user_avatar import download_user_photos
|
||||
|
||||
# Настройка экспорта модулей
|
||||
__all__ = ("download_avatar",)
|
||||
|
||||
|
||||
# Функция объединения закачки аватарок
|
||||
async def download_avatar(message):
|
||||
await download_chat_avatar(message, message.chat)
|
||||
await download_user_photos(message)
|
||||
return f"Успешная закачка аватаров!"
|
||||
Reference in New Issue
Block a user