randydev commited on
Commit
c4f04dd
Β·
1 Parent(s): b9140ec

fix update

Browse files
akn/AllDownloaderBot/helpers/azrcallback.py CHANGED
@@ -67,7 +67,28 @@ help_texts = {
67
  "/fbdl - Facebook Downloader\n"
68
  "/ttdl - Tiktok Downloader\n"
69
  "/twtdl - Twitter Downloader\n"
70
- "/alldl - All Downloader\n"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  }
72
 
73
  @Client.on_message(filters.regex("^arzunban_(\d+)"))
@@ -90,7 +111,7 @@ async def arzunmute_callback(client, callback):
90
  except Exception as e:
91
  await callback.answer(f"Failed to unmute user: {e}")
92
 
93
- @Client.on_callback_query(filters.regex("^rhelp_(ban|mute|promote|demote|clean|lock|downloader)$"))
94
  async def rxhelp_callback(client, callback):
95
  category = callback.data.split("_")[1]
96
  keyboard = InlineKeyboardMarkup([
@@ -124,6 +145,17 @@ async def rhelp_back(client, callback):
124
  [
125
  InlineKeyboardButton("πŸ“₯ Downloader", callback_data="rhelp_downloader"),
126
  ],
 
 
 
 
 
 
 
 
 
 
 
127
  [
128
  InlineKeyboardButton("❌ Close", callback_data="cclose"),
129
  ]
 
67
  "/fbdl - Facebook Downloader\n"
68
  "/ttdl - Tiktok Downloader\n"
69
  "/twtdl - Twitter Downloader\n"
70
+ "/alldl - All Downloader\n",
71
+
72
+ "stats": "**Statistics Commands:**\n"
73
+ "/stats - View user statistics.\n"
74
+ "/rmdup - Remove duplicate messages\n"
75
+ "/broadcast - Send a message to all users.\n",
76
+
77
+ "forcesub": "**Force Subscribe Commands (Owner-Only):**\n"
78
+ "/addjoin - Force subscribe to a channel.\n",
79
+
80
+ "blacklist": "**Blacklist Commands (Owner-Only):**\n"
81
+ "/addblacklist - Ban a user from using bot commands.\n"
82
+ "/rmblacklist - Unban a blacklisted user.\n"
83
+ "/blacklistchat - Block a chat from using the bot.\n"
84
+ "/viewblacklistusers - View blacklisted users.\n"
85
+ "/whitelistchat - Unblock a chat from using the bot.\n"
86
+ "/blacklistedchat - View blacklisted chats.\n",
87
+
88
+ "botsettings": "**Bot Settings Commands (Owner-Only):**\n"
89
+ "/nobutton - Toggle **ON/OFF** the `/start` button.\n"
90
+ "/setpic - Change the bot's display picture (resend if needed)\n"
91
+ "/delpic - Remove bot display picture (resend if needed).\n"
92
  }
93
 
94
  @Client.on_message(filters.regex("^arzunban_(\d+)"))
 
111
  except Exception as e:
112
  await callback.answer(f"Failed to unmute user: {e}")
113
 
114
+ @Client.on_callback_query(filters.regex("^rhelp_(ban|mute|promote|demote|clean|lock|downloader|stats|forcesub|blacklist|botsettings)$"))
115
  async def rxhelp_callback(client, callback):
116
  category = callback.data.split("_")[1]
117
  keyboard = InlineKeyboardMarkup([
 
145
  [
146
  InlineKeyboardButton("πŸ“₯ Downloader", callback_data="rhelp_downloader"),
147
  ],
148
+ [
149
+ InlineKeyboardButton("πŸ“Š Stats", callback_data="rhelp_stats"),
150
+ InlineKeyboardButton("πŸ“ Author Commands", callback_data="author_cmd")
151
+ ],
152
+ [
153
+ InlineKeyboardButton("πŸ”’ Force Subscribe", callback_data="rhelp_forcesub"),
154
+ InlineKeyboardButton("πŸ›‘οΈ Blacklist", callback_data="rhelp_blacklist")
155
+ ],
156
+ [
157
+ InlineKeyboardButton("βš™οΈ Bot Settings", callback_data="rhelp_botsettings"),
158
+ ],
159
  [
160
  InlineKeyboardButton("❌ Close", callback_data="cclose"),
161
  ]
akn/AllDownloaderBot/main.py CHANGED
@@ -138,6 +138,17 @@ async def varzhelp_callbackz(c, callback):
138
  [
139
  InlineKeyboardButton("πŸ“₯ Downloader", callback_data="rhelp_downloader"),
140
  ],
 
 
 
 
 
 
 
 
 
 
 
141
  [
142
  InlineKeyboardButton("❌ Close", callback_data="cclose"),
143
  ]
@@ -179,11 +190,7 @@ async def startbot(c, m):
179
  ],
180
  [
181
  InlineKeyboardButton(
182
- text="Author Commands",
183
- callback_data='author_cmd'
184
- ),
185
- InlineKeyboardButton(
186
- text="Modules",
187
  callback_data='zvhelp'
188
  )
189
  ]
@@ -197,11 +204,7 @@ async def startbot(c, m):
197
  ],
198
  [
199
  InlineKeyboardButton(
200
- text="Author Commands",
201
- callback_data='author_cmd'
202
- ),
203
- InlineKeyboardButton(
204
- text="Modules",
205
  callback_data='zvhelp'
206
  )
207
  ]
 
138
  [
139
  InlineKeyboardButton("πŸ“₯ Downloader", callback_data="rhelp_downloader"),
140
  ],
141
+ [
142
+ InlineKeyboardButton("πŸ“Š Stats", callback_data="rhelp_stats"),
143
+ InlineKeyboardButton("πŸ“ Author Commands", callback_data="author_cmd")
144
+ ],
145
+ [
146
+ InlineKeyboardButton("πŸ”’ Force Subscribe", callback_data="rhelp_forcesub"),
147
+ InlineKeyboardButton("πŸ›‘οΈ Blacklist", callback_data="rhelp_blacklist")
148
+ ],
149
+ [
150
+ InlineKeyboardButton("βš™οΈ Bot Settings", callback_data="rhelp_botsettings"),
151
+ ],
152
  [
153
  InlineKeyboardButton("❌ Close", callback_data="cclose"),
154
  ]
 
190
  ],
191
  [
192
  InlineKeyboardButton(
193
+ text="Help",
 
 
 
 
194
  callback_data='zvhelp'
195
  )
196
  ]
 
204
  ],
205
  [
206
  InlineKeyboardButton(
207
+ text="Help",
 
 
 
 
208
  callback_data='zvhelp'
209
  )
210
  ]