diff --git a/plugins/commands.py b/plugins/commands.py
index 8675c3a41..74d9f1163 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -245,7 +245,7 @@ async def start(client, message):
if str(message.from_user.id) != str(userid):
return await message.reply_text(
text="Iɴᴠᴀʟɪᴅ ʟɪɴᴋ ᴏʀ Exᴘɪʀᴇᴅ ʟɪɴᴋ !",
- protect_content=True
+ protect_content=True if PROTECT_CONTENT else False
)
is_valid = await check_token(client, userid, token)
if is_valid == True:
@@ -256,7 +256,7 @@ async def start(client, message):
await verify_user(client, userid, token)
await message.reply_text(
text=f"Hᴇʏ {message.from_user.mention}, Yᴏᴜ ᴀʀᴇ sᴜᴄᴄᴇssғᴜʟʟʏ ᴠᴇʀɪғɪᴇᴅ !\nNᴏᴡ ʏᴏᴜ ʜᴀᴠᴇ ᴜɴʟɪᴍɪᴛᴇᴅ ᴀᴄᴄᴇss ғᴏʀ ᴀʟʟ ᴍᴏᴠɪᴇs ᴛɪʟʟ ᴛʜᴇ ɴᴇxᴛ ᴠᴇʀɪғɪᴄᴀᴛɪᴏɴ ᴡʜɪᴄʜ ɪs ᴀғᴛᴇʀ 12 ʜᴏᴜʀs ғʀᴏᴍ ɴᴏᴡ.",
- protect_content=True,
+ protect_content=True if PROTECT_CONTENT else False,
reply_markup=InlineKeyboardMarkup(btn)
)
return
@@ -265,7 +265,7 @@ async def start(client, message):
]]
await message.reply_text(
text=f"Hᴇʏ {message.from_user.mention}, Yᴏᴜ ᴀʀᴇ sᴜᴄᴄᴇssғᴜʟʟʏ ᴠᴇʀɪғɪᴇᴅ !\nNᴏᴡ ʏᴏᴜ ʜᴀᴠᴇ ᴜɴʟɪᴍɪᴛᴇᴅ ᴀᴄᴄᴇss ғᴏʀ ᴀʟʟ ᴍᴏᴠɪᴇs ᴛɪʟʟ ᴛʜᴇ ɴᴇxᴛ ᴠᴇʀɪғɪᴄᴀᴛɪᴏɴ ᴡʜɪᴄʜ ɪs ᴀғᴛᴇʀ 12 ʜᴏᴜʀs ғʀᴏᴍ ɴᴏᴡ.",
- protect_content=True,
+ protect_content=True if PROTECT_CONTENT else False,
reply_markup=InlineKeyboardMarkup(btn)
)
await verify_user(client, userid, token)
@@ -273,7 +273,7 @@ async def start(client, message):
else:
return await message.reply_text(
text="Iɴᴠᴀʟɪᴅ ʟɪɴᴋ ᴏʀ Exᴘɪʀᴇᴅ ʟɪɴᴋ !",
- protect_content=True
+ protect_content=True if PROTECT_CONTENT else False
)
files_ = await get_file_details(file_id)
@@ -286,7 +286,7 @@ async def start(client, message):
]]
await message.reply_text(
text="Yᴏᴜ ᴀʀᴇ ɴᴏᴛ ᴠᴇʀɪғɪᴇᴅ!\nKɪɴᴅʟʏ ᴠᴇʀɪғʏ ᴛᴏ ᴄᴏɴᴛɪɴᴜᴇ Sᴏ ᴛʜᴀᴛ ʏᴏᴜ ᴄᴀɴ ɢᴇᴛ ᴀᴄᴄᴇss ᴛᴏ ᴜɴʟɪᴍɪᴛᴇᴅ ᴍᴏᴠɪᴇs ᴜɴᴛɪʟ 12 ʜᴏᴜʀs ғʀᴏᴍ ɴᴏᴡ !",
- protect_content=True,
+ protect_content=True if PROTECT_CONTENT else False,
reply_markup=InlineKeyboardMarkup(btn)
)
return
@@ -338,7 +338,7 @@ async def start(client, message):
]]
await message.reply_text(
text="Yᴏᴜ ᴀʀᴇ ɴᴏᴛ ᴠᴇʀɪғɪᴇᴅ!\nKɪɴᴅʟʏ ᴠᴇʀɪғʏ ᴛᴏ ᴄᴏɴᴛɪɴᴜᴇ Sᴏ ᴛʜᴀᴛ ʏᴏᴜ ᴄᴀɴ ɢᴇᴛ ᴀᴄᴄᴇss ᴛᴏ ᴜɴʟɪᴍɪᴛᴇᴅ ᴍᴏᴠɪᴇs ᴜɴᴛɪʟ 12 ʜᴏᴜʀs ғʀᴏᴍ ɴᴏᴡ !",
- protect_content=True,
+ protect_content=True if PROTECT_CONTENT else False,
reply_markup=InlineKeyboardMarkup(btn)
)
return
@@ -850,4 +850,4 @@ async def shortlink(bot, message):
await save_group_settings(grpid, 'shortlink', shortlink_url)
await save_group_settings(grpid, 'shortlink_api', api)
await save_group_settings(grpid, 'is_shortlink', True)
- await reply.edit_text(f"Sᴜᴄᴄᴇssғᴜʟʟʏ ᴀᴅᴅᴇᴅ sʜᴏʀᴛʟɪɴᴋ API ғᴏʀ {title}.\n\nCᴜʀʀᴇɴᴛ Sʜᴏʀᴛʟɪɴᴋ Wᴇʙsɪᴛᴇ: {shortlink_url}
\nCᴜʀʀᴇɴᴛ API: {api}
")
\ No newline at end of file
+ await reply.edit_text(f"Sᴜᴄᴄᴇssғᴜʟʟʏ ᴀᴅᴅᴇᴅ sʜᴏʀᴛʟɪɴᴋ API ғᴏʀ {title}.\n\nCᴜʀʀᴇɴᴛ Sʜᴏʀᴛʟɪɴᴋ Wᴇʙsɪᴛᴇ: {shortlink_url}
\nCᴜʀʀᴇɴᴛ API: {api}
")