Update main.py
Browse files
main.py
CHANGED
@@ -199,6 +199,7 @@ async def searchhub(client: Client, message: Message):
|
|
199 |
if query in not_allowed:
|
200 |
return await pro.edit_text("I don't understand, can you help me?")
|
201 |
try:
|
|
|
202 |
protect_content = user_status["expired"] and not user_status["free_mode"]
|
203 |
if protect_content:
|
204 |
await message.reply("Your free mode has expired. Sending protected content.")
|
@@ -254,6 +255,7 @@ async def porno_download(client: Client, message: Message):
|
|
254 |
return await message.reply_text("invalid link.")
|
255 |
pro = await message.reply_text("Processing.....")
|
256 |
try:
|
|
|
257 |
protect_content = user_status["expired"] and not user_status["free_mode"]
|
258 |
if protect_content:
|
259 |
await message.reply("Your free mode has expired. Sending protected content.")
|
|
|
199 |
if query in not_allowed:
|
200 |
return await pro.edit_text("I don't understand, can you help me?")
|
201 |
try:
|
202 |
+
user_status = check_expiration(user_id)
|
203 |
protect_content = user_status["expired"] and not user_status["free_mode"]
|
204 |
if protect_content:
|
205 |
await message.reply("Your free mode has expired. Sending protected content.")
|
|
|
255 |
return await message.reply_text("invalid link.")
|
256 |
pro = await message.reply_text("Processing.....")
|
257 |
try:
|
258 |
+
user_status = check_expiration(user_id)
|
259 |
protect_content = user_status["expired"] and not user_status["free_mode"]
|
260 |
if protect_content:
|
261 |
await message.reply("Your free mode has expired. Sending protected content.")
|