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