Skip to content

Commit

Permalink
ᴀᴅᴅᴇᴅ sᴏᴍᴇ ɴᴇᴡ ғᴇᴀᴛᴜʀᴇ ✓
Browse files Browse the repository at this point in the history
  • Loading branch information
DigitalBotz authored May 26, 2024
1 parent bb3b999 commit f572d29
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions plugins/start_&_cb.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,16 +148,14 @@ async def cb_handler(client, query: CallbackQuery):
await query.message.edit_text(text=rkn.UPGRADE, disable_web_page_preview=True, reply_markup=upgrade_button)

elif data == "give_trial":
await query.message.delete()
free_trial_status = await db.get_free_trial_status(query.from_user.id)
if not free_trial_status:
await db.give_free_trail(query.from_user.id)
new_text = "**ʏᴏᴜʀ ᴘʀᴇᴍɪᴜᴍ ᴛʀɪᴀʟ ʜᴀs ʙᴇᴇɴ ᴀᴅᴅᴇᴅ ғᴏʀ 𝟷𝟸 ʜᴏᴜʀs.\n\nʏᴏᴜ ᴄᴀɴ ᴜsᴇ ꜰʀᴇᴇ ᴛʀᴀɪʟ ꜰᴏʀ 𝟷𝟸 ʜᴏᴜʀs ꜰʀᴏᴍ ɴᴏᴡ 😀\n\nआप अब से 𝟷𝟸 घण्टा के लिए निःशुल्क ट्रायल का उपयोग कर सकते हैं 😀**"
else:
new_text = "**🤣 ʏᴏᴜ ᴀʟʀᴇᴀᴅʏ ᴜsᴇᴅ ғʀᴇᴇ ɴᴏᴡ ɴᴏ ᴍᴏʀᴇ ғʀᴇᴇ ᴛʀᴀɪʟ. ᴘʟᴇᴀsᴇ ʙᴜʏ sᴜʙsᴄʀɪᴘᴛɪᴏɴ ʜᴇʀᴇ ᴀʀᴇ ᴏᴜʀ 👉 /plans**"

await query.message.delete()
await client.send_message(query.from_user.id, text=new_text)
return
await client.send_message(query.from_user.id, text=new_text)

elif data == "thumbnail":
await query.message.edit_text(
Expand Down

0 comments on commit f572d29

Please sign in to comment.