From 67f1ce535f95efca31629f178b2543a6ea939dec Mon Sep 17 00:00:00 2001 From: Profitroll <47523801+profitrollgame@users.noreply.github.com> Date: Thu, 5 Jan 2023 20:47:30 +0100 Subject: [PATCH] Small fixes --- modules/handlers/everything.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/handlers/everything.py b/modules/handlers/everything.py index 5639271..135d91b 100644 --- a/modules/handlers/everything.py +++ b/modules/handlers/everything.py @@ -2,7 +2,7 @@ from traceback import print_exc from app import app, isAnAdmin import asyncio from pyrogram import filters -from pyrogram.types import Message, ReplyKeyboardMarkup, ReplyKeyboardRemove, ForceReply, InlineKeyboardMarkup, InlineKeyboardButton +from pyrogram.types import Message, ForceReply, InlineKeyboardMarkup, InlineKeyboardButton from pyrogram.client import Client from classes.holo_user import HoloUser from modules.utils import configGet, logWrite, locale, all_locales @@ -55,7 +55,11 @@ async def any_stage(app: Client, msg: Message): await holo_user.application_next(msg.text, msg=msg) if configGet("enabled", "features", "sponsorships") is True: - await holo_user.sponsorship_next(msg.text, msg=msg) + + await holo_user.sponsorship_next(msg.text, msg) + + if msg.photo is not None: + await holo_user.sponsorship_next(msg.text, msg=msg, photo=msg.photo) if holo_user.application_state()[0] != "fill" and holo_user.sponsorship_state()[0] != "fill":