randydev commited on
Commit
7907956
Β·
1 Parent(s): b7b28b1
Files changed (3) hide show
  1. akn/manage/account.py +3 -3
  2. akn/manage/callback.py +7 -1
  3. secure.py +2 -2
akn/manage/account.py CHANGED
@@ -618,16 +618,16 @@ async def start_welcome(client: Client, message: Message):
618
  if not await db_client.get_privacy_policy(user_id):
619
  await message.reply_text(
620
  "You need to accept the privacy policy to use this bot.\n\n"
621
- "Press /start to accept the privacy policy.",
622
  reply_markup=InlineKeyboardMarkup(
623
  [
624
  [
625
- InlineKeyboardButton("Privacy Policy", callback_data="privacy_policy")
626
  ]
627
  ]
628
  )
629
  )
630
- return
631
  try:
632
  if len(message.text.split()) > 1:
633
  name = (message.text.split(None, 1)[1]).lower()
 
618
  if not await db_client.get_privacy_policy(user_id):
619
  await message.reply_text(
620
  "You need to accept the privacy policy to use this bot.\n\n"
621
+ "Please click the button below to view the privacy policy and accept it.",
622
  reply_markup=InlineKeyboardMarkup(
623
  [
624
  [
625
+ InlineKeyboardButton("πŸ”’ Privacy Policy", callback_data="privacy_policy")
626
  ]
627
  ]
628
  )
629
  )
630
+ return
631
  try:
632
  if len(message.text.split()) > 1:
633
  name = (message.text.split(None, 1)[1]).lower()
akn/manage/callback.py CHANGED
@@ -140,9 +140,15 @@ async def privacy_policy_ok(client, query):
140
  [
141
  [
142
  InlineKeyboardButton(
143
- "Your Aggrement",
144
  callback_data="aggrement"
145
  ),
 
 
 
 
 
 
146
  ]
147
  ]
148
  )
 
140
  [
141
  [
142
  InlineKeyboardButton(
143
+ "βœ… Your Aggrement",
144
  callback_data="aggrement"
145
  ),
146
+ ],
147
+ [
148
+ InlineKeyboardButton(
149
+ "❌ Close",
150
+ callback_data="close"
151
+ )
152
  ]
153
  ]
154
  )
secure.py CHANGED
@@ -1,4 +1,4 @@
1
- SECURETY = """"
2
  **Telegram Privacy Policy Compliance – AKN-DEV**
3
 
4
  @aknuserbot fully complies with Telegram's privacy policy and ensures user security and data protection.
@@ -16,5 +16,5 @@ AKN-DEV is a powerful and versatile tool designed to enhance your Telegram exper
16
  β€’ **Full Compliance with Telegram Policies**
17
  Rest assured, AKN-DEV follows all Telegram privacy policies to ensure the safety and security of your data. Your sessions, bot tokens, and API keys remain private and secure.
18
 
19
- πŸ”’ Your privacy and security are our top priority
20
  """
 
1
+ SECURETY = """
2
  **Telegram Privacy Policy Compliance – AKN-DEV**
3
 
4
  @aknuserbot fully complies with Telegram's privacy policy and ensures user security and data protection.
 
16
  β€’ **Full Compliance with Telegram Policies**
17
  Rest assured, AKN-DEV follows all Telegram privacy policies to ensure the safety and security of your data. Your sessions, bot tokens, and API keys remain private and secure.
18
 
19
+ πŸ”’ **Your privacy and security are our top priority**
20
  """