Spaces:
Running
Running
Captain Ezio
commited on
Commit
·
2697fb5
1
Parent(s):
4ad59e4
Update start.py
Browse files- Powers/plugins/start.py +1 -1
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 |
-
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()
|
|
|
67 |
command("start") & (filters.group | filters.private),
|
68 |
)
|
69 |
async def start(c: Gojo, m: Message):
|
70 |
+
chat_type = await chattype(m)
|
71 |
if chat_type == "private":
|
72 |
if len(m.text.split()) > 1:
|
73 |
help_option = (m.text.split(None, 1)[1]).lower()
|