Spaces:
Running
Running
Update akn/MagicFonts/commands.py
Browse files
akn/MagicFonts/commands.py
CHANGED
@@ -7,8 +7,7 @@ from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup
|
|
7 |
|
8 |
|
9 |
@Client.on_message(
|
10 |
-
|
11 |
-
& filters.command(["start"])
|
12 |
& filters.private
|
13 |
& ~filters.forwarded
|
14 |
)
|
@@ -39,6 +38,7 @@ async def start(c, m):
|
|
39 |
disable_web_page_preview=True,
|
40 |
reply_markup=InlineKeyboardMarkup(buttons)
|
41 |
)
|
|
|
42 |
|
43 |
@Client.on_message(filters.private & filters.text)
|
44 |
async def style_buttons(c, m, cb=False):
|
|
|
7 |
|
8 |
|
9 |
@Client.on_message(
|
10 |
+
filters.command(["start"])
|
|
|
11 |
& filters.private
|
12 |
& ~filters.forwarded
|
13 |
)
|
|
|
38 |
disable_web_page_preview=True,
|
39 |
reply_markup=InlineKeyboardMarkup(buttons)
|
40 |
)
|
41 |
+
await m.stop_propagation()
|
42 |
|
43 |
@Client.on_message(filters.private & filters.text)
|
44 |
async def style_buttons(c, m, cb=False):
|