randydev commited on
Commit
2b34e8c
·
1 Parent(s): 6dca01c

fix update

Browse files
akn/AllDownloaderBot/helpers/azrcallback.py CHANGED
@@ -26,87 +26,6 @@ unmute_permissions = ChatPermissions(
26
  can_pin_messages=False,
27
  )
28
 
29
- GROUP_TEXTS = """
30
- Hi {name} i am a modular group management bot with some fun extras.
31
-
32
- Resfresh Ping: `{ping}`
33
-
34
- i can do Azrea Bot of things, and help u manage your group effortlessly!
35
-
36
- All Command can be accessed by using: `/`
37
- **Click on help to learn more!**
38
- """
39
-
40
- help_texts = {
41
- "ban": "**Ban Commands:**\n"
42
- "/ban - Ban a user\n"
43
- "/unban - Unban a user\n"
44
- "/tban - Temporary ban\n"
45
- "/banme - Ban yourself",
46
-
47
- "mute": "**Mute Commands:**\n"
48
- "/mute - Mute a user\n"
49
- "/unmute - Unmute user\n"
50
- "/tmute - Temporary mute\n"
51
- "/muteall - Mute all users\n"
52
- "/muteme - Mute yourself",
53
-
54
- "promote": "**Promotion Commands:**\n"
55
- "/promote - Promote user\n"
56
- "/demote - Demote user\n"
57
- "/title - Set admin title\n"
58
- "/adminlist - List admins",
59
-
60
- "clean": "**Cleaning Commands:**\n"
61
- "/del - Delete message\n"
62
- "/purge - Purge messages\n"
63
- "/delall - Delete all messages\n"
64
- "/setgpic - Set group photo",
65
-
66
- "lock": "**Locking Commands:**\n"
67
- "/lock - Lock permissions\n"
68
- "/unlock - Unlock permissions\n"
69
- "/locks - Current locks\n"
70
- "/locktypes - Available locks",
71
-
72
- "demote": "**Demotion Commands:**\n"
73
- "/demote - Demote user\n"
74
- "/undemote - Undemote user\n"
75
- "/demoteme - Demote yourself\n"
76
- "/demoteall - Demote all admins",
77
-
78
- "downloader": "**Downloader Commands:**\n"
79
- "/igdl - Instgram Downloader\n"
80
- "/ytv - Youtube Downloader\n"
81
- "/yta - Youtube Audio Downloader\n"
82
- "/ytva - Youtube Video Audio Downloader\n"
83
- "/fbdl - Facebook Downloader\n"
84
- "/ttdl - Tiktok Downloader\n"
85
- "/twtdl - Twitter Downloader\n"
86
- "/alldl - All Downloader\n",
87
-
88
- "stats": "**Statistics Commands:**\n"
89
- "/stats - View user statistics.\n"
90
- "/rmdup - Remove duplicate messages\n"
91
- "/broadcast - Send a message to all users.\n",
92
-
93
- "forcesub": "**Force Subscribe Commands (Owner-Only):**\n"
94
- "/addjoin - Force subscribe to a channel.\n",
95
-
96
- "blacklist": "**Blacklist Commands (Owner-Only):**\n"
97
- "/addblacklist - Ban a user from using bot commands.\n"
98
- "/rmblacklist - Unban a blacklisted user.\n"
99
- "/blacklistchat - Block a chat from using the bot.\n"
100
- "/viewblacklistusers - View blacklisted users.\n"
101
- "/whitelistchat - Unblock a chat from using the bot.\n"
102
- "/blacklistedchat - View blacklisted chats.\n",
103
-
104
- "botsettings": "**Bot Settings Commands (Owner-Only):**\n"
105
- "/nobutton - Toggle **ON/OFF** the `/start` button.\n"
106
- "/setpic - Change the bot's display picture (resend if needed)\n"
107
- "/delpic - Remove bot display picture (resend if needed).\n"
108
- }
109
-
110
  def get_help_texts(lang="en"):
111
  return {
112
  "ban": transdev.get("messages.help_ban", lang=lang),
 
26
  can_pin_messages=False,
27
  )
28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  def get_help_texts(lang="en"):
30
  return {
31
  "ban": transdev.get("messages.help_ban", lang=lang),
akn/AllDownloaderBot/main.py CHANGED
@@ -55,16 +55,6 @@ COMMAND = """
55
  - `/ytlink` – Search for YouTube videos.
56
  """
57
 
58
- GROUP_TEXTS = """
59
- Hi {name} i am a modular group management bot with some fun extras.
60
-
61
- Resfresh Ping: `{ping}`
62
-
63
- i can do Azrea Bot of things, and help u manage your group effortlessly!
64
-
65
- All Command can be accessed by using: `/`
66
- **Click on help to learn more!**
67
- """
68
 
69
  @Client.on_callback_query(filters.regex("^cclose"))
70
  async def cb_cclose(client, query):
 
55
  - `/ytlink` – Search for YouTube videos.
56
  """
57
 
 
 
 
 
 
 
 
 
 
 
58
 
59
  @Client.on_callback_query(filters.regex("^cclose"))
60
  async def cb_cclose(client, query):
akn/langs/en.yml CHANGED
@@ -8,7 +8,94 @@ messages:
8
 
9
  All Command can be accessed by using: `/`
10
  **Click on help to learn more!**
 
 
 
11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
 
13
  buttons:
14
  help_back: |
 
8
 
9
  All Command can be accessed by using: `/`
10
  **Click on help to learn more!**
11
+
12
+ help_ban: |
13
+ **Ban Commands:**
14
 
15
+ /ban - Ban a user
16
+ /unban - Unban a user
17
+ /banme - Ban yourself
18
+
19
+ help_mute: |
20
+ **Mute Commands:**
21
+
22
+ /mute - Mute a user
23
+ /unmute - Unmute user
24
+ /muteall - Mute all users
25
+ /muteme - Mute yourself
26
+
27
+ help_promote: |
28
+ **Promotion Commands:**
29
+
30
+ /promote - Promote user
31
+ /demote - Demote user
32
+ /adminlist - List admins
33
+
34
+ help_clean: |
35
+ **Cleaning Commands:**
36
+
37
+ /del - Delete message
38
+ /purge - Purge messages
39
+ /setgpic - Set group photo
40
+ /setgdesc - Set description group
41
+ /setgname - Set name group
42
+ /rmzombies - Delete all zombie
43
+
44
+ help_lock: |
45
+ **Locking Commands:**
46
+
47
+ /lock - Lock permissions
48
+ /unlock - Unlock permissions
49
+ /locks - Current locks
50
+ /locktypes - Available locks
51
+
52
+ help_demote: |
53
+ **Demotion Commands:**
54
+
55
+ /undemote - Undemote user
56
+ /demoteme - Demote yourself
57
+ /demoteall - Demote all admins
58
+
59
+ help_downloader: |
60
+ **Downloader Commands:**
61
+
62
+ /igdl - Instgram Downloader
63
+ /ytv - Youtube Downloader
64
+ /yta - Youtube Audio Downloader
65
+ /ytva - Youtube Video Audio Downloader
66
+ /fbdl - Facebook Downloader
67
+ /ttdl - Tiktok Downloader
68
+ /twtdl - Twitter Downloader
69
+ /alldl - All Downloader
70
+
71
+ help_stats: |
72
+ **Statistics Commands:**
73
+
74
+ /stats - View user statistics.
75
+ /rmdup - Remove duplicate messages
76
+ /broadcast - Send a message to all users.
77
+
78
+ help_forcesub: |
79
+ **Force Subscribe Commands (Owner-Only):**
80
+
81
+ /addjoin - Force subscribe to a channel.
82
+
83
+ help_blacklist: |
84
+ **Blacklist Commands (Owner-Only):**
85
+
86
+ /addblacklist - Ban a user from using bot commands.
87
+ /rmblacklist - Unban a blacklisted user.
88
+ /blacklistchat - Block a chat from using the bot.
89
+ /viewblacklistusers - View blacklisted users.
90
+ /whitelistchat - Unblock a chat from using the bot.
91
+ /blacklistedchat - View blacklisted chats.
92
+
93
+ help_botsettings: |
94
+ **Bot Settings Commands (Owner-Only):**
95
+
96
+ /nobutton - Toggle **ON/OFF** the `/start` button.
97
+ /setpic - Change the bot's display picture (resend if needed)
98
+ /delpic - Remove bot display picture (resend if needed)
99
 
100
  buttons:
101
  help_back: |