fix update
Browse files- akn/AllDownloaderBot/langues.py +16 -20
akn/AllDownloaderBot/langues.py
CHANGED
@@ -3,24 +3,20 @@ from pyrogram.types import *
|
|
3 |
|
4 |
@Client.on_message(filters.command("setlang"))
|
5 |
async def arzlanguage_menu(client, message):
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
InlineKeyboardButton("❌ Close", callback_data="cclose")
|
20 |
-
)
|
21 |
await message.reply(
|
22 |
-
"Select your language:",
|
23 |
-
reply_markup=InlineKeyboardMarkup(
|
24 |
-
|
25 |
-
)
|
26 |
-
)
|
|
|
3 |
|
4 |
@Client.on_message(filters.command("setlang"))
|
5 |
async def arzlanguage_menu(client, message):
|
6 |
+
keyboard = [
|
7 |
+
[
|
8 |
+
InlineKeyboardButton("🇺🇸 English", callback_data="arzlang_en"),
|
9 |
+
InlineKeyboardButton("🇮🇩 Indonesia", callback_data="arzlang_id"),
|
10 |
+
],
|
11 |
+
[
|
12 |
+
InlineKeyboardButton("🇪🇸 Español", callback_data="arzlang_es"),
|
13 |
+
InlineKeyboardButton("🇫🇷 Français", callback_data="arzlang_fr"),
|
14 |
+
],
|
15 |
+
[
|
16 |
+
InlineKeyboardButton("❌ Close", callback_data="cclose"),
|
17 |
+
]
|
18 |
+
]
|
|
|
|
|
19 |
await message.reply(
|
20 |
+
"🌐 Select your language:",
|
21 |
+
reply_markup=InlineKeyboardMarkup(keyboard)
|
22 |
+
)
|
|
|
|