Spaces:
Paused
Paused
iamgojoof6eyes
commited on
Commit
·
ed9ddea
1
Parent(s):
71a83ff
Fine now
Browse files- Powers/plugins/start.py +3 -3
Powers/plugins/start.py
CHANGED
|
@@ -68,7 +68,7 @@ async def close_admin_callback(_, q: CallbackQuery):
|
|
| 68 |
)
|
| 69 |
async def start(c: Gojo, m: Message):
|
| 70 |
chat_type = chattype(m)
|
| 71 |
-
if
|
| 72 |
if len(m.text.split()) > 1:
|
| 73 |
help_option = (m.text.split(None, 1)[1]).lower()
|
| 74 |
|
|
@@ -188,7 +188,7 @@ async def help_menu(_, m: Message):
|
|
| 188 |
f"{m.from_user.id} fetched help for '{help_option}' text in {m.chat.id}",
|
| 189 |
)
|
| 190 |
chat_type = chattype(m)
|
| 191 |
-
if
|
| 192 |
await m.reply_photo(
|
| 193 |
photo=StartPic,
|
| 194 |
caption=help_msg,
|
|
@@ -215,7 +215,7 @@ async def help_menu(_, m: Message):
|
|
| 215 |
)
|
| 216 |
else:
|
| 217 |
chat_type = chattype(m)
|
| 218 |
-
if
|
| 219 |
keyboard = ikb(
|
| 220 |
[
|
| 221 |
*(await gen_cmds_kb(m)),
|
|
|
|
| 68 |
)
|
| 69 |
async def start(c: Gojo, m: Message):
|
| 70 |
chat_type = chattype(m)
|
| 71 |
+
if chat_type == "private":
|
| 72 |
if len(m.text.split()) > 1:
|
| 73 |
help_option = (m.text.split(None, 1)[1]).lower()
|
| 74 |
|
|
|
|
| 188 |
f"{m.from_user.id} fetched help for '{help_option}' text in {m.chat.id}",
|
| 189 |
)
|
| 190 |
chat_type = chattype(m)
|
| 191 |
+
if chat_type == "private":
|
| 192 |
await m.reply_photo(
|
| 193 |
photo=StartPic,
|
| 194 |
caption=help_msg,
|
|
|
|
| 215 |
)
|
| 216 |
else:
|
| 217 |
chat_type = chattype(m)
|
| 218 |
+
if chat_type == "privaate":
|
| 219 |
keyboard = ikb(
|
| 220 |
[
|
| 221 |
*(await gen_cmds_kb(m)),
|