randydev commited on
Commit
ea798d7
Β·
verified Β·
1 Parent(s): ab9ce37

Update chatbot/plugins/payments.py

Browse files
Files changed (1) hide show
  1. chatbot/plugins/payments.py +39 -3
chatbot/plugins/payments.py CHANGED
@@ -5,20 +5,56 @@ from pyrogram.types import *
5
  from database import db
6
  from datetime import datetime as dt, timedelta
7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  @Client.on_callback_query(filters.regex(r"^get_premium$"))
9
  async def get_premiums(client, callback):
10
  keyboard = InlineKeyboardMarkup(
11
  [
12
  [
13
- InlineKeyboardButton("$4.99 Monthly", callback_data="buy_premium_monthly"),
14
- InlineKeyboardButton("$49.99 Yearly", callback_data="buy_premium_monthly"),
 
 
 
15
  ],
16
  [
17
  InlineKeyboardButton(f"❌ Closed", callback_data="closedd")
18
  ]
19
  ]
20
  )
21
- return await callback.edit_message_reply_markup(reply_markup=keyboard)
 
 
 
22
 
23
  @Client.on_callback_query(filters.regex(r"^buy_premium_(monthly|yearly)$"))
24
  async def premium_purchase(client, callback):
 
5
  from database import db
6
  from datetime import datetime as dt, timedelta
7
 
8
+ PLAN_PREMIUM = """
9
+ **✨ Premium Subscription Plans**
10
+
11
+ **πŸ”Ή Free Tier**
12
+ *(For new users and testing)*
13
+ - **πŸ–ΌοΈ Image Credits**: 5/day (resets at midnight UTC)
14
+ - **⚑ Features**: Basic generation only
15
+ - **⚠️ Restrictions**:
16
+ - Blacklist keyword scanning enabled
17
+ - Account freeze possible for violations
18
+
19
+ **πŸ’Ž Monthly Premium**
20
+ **Rp 50,000** (~$3.50/month)
21
+ - **πŸ–ΌοΈ Credits**: 50/day (10Γ— free tier)
22
+ - **🎨 Advanced Tools**:
23
+ - `--edit-images` full access
24
+ - **πŸ›‘οΈ Protection**:
25
+ - Anti-freeze guarantee
26
+ - Whitelisted from blacklists
27
+ - **πŸ”„ Billing**: Auto-renews monthly
28
+
29
+ **πŸš€ Yearly Premium**
30
+ **Rp 825,854** (~$58/year - **35% discount**)
31
+ βœ… **All Monthly benefits PLUS**:
32
+ - **πŸ‘¨πŸ’» VIP Support**: Direct developer contact
33
+ - **πŸ” Early Access**: Beta features
34
+ - **πŸ’Έ Best Value**: Only Rp 68,821/month
35
+
36
+ """
37
+
38
  @Client.on_callback_query(filters.regex(r"^get_premium$"))
39
  async def get_premiums(client, callback):
40
  keyboard = InlineKeyboardMarkup(
41
  [
42
  [
43
+ InlineKeyboardButton("πŸ’³ Buy Monthly", callback_data="buy_premium_monthly"),
44
+ InlineKeyboardButton("πŸš€ Buy Yearly", callback_data="buy_premium_yearly"),
45
+ ],
46
+ [
47
+ InlineKeyboardButton("☎️ Contact Support", url="https://t.me/xpushz"),
48
  ],
49
  [
50
  InlineKeyboardButton(f"❌ Closed", callback_data="closedd")
51
  ]
52
  ]
53
  )
54
+ return await callback.message.edit_text(
55
+ PLAN_PREMIUM,
56
+ reply_markup=keyboard
57
+ )
58
 
59
  @Client.on_callback_query(filters.regex(r"^buy_premium_(monthly|yearly)$"))
60
  async def premium_purchase(client, callback):