Spaces:
Sleeping
Sleeping
Captain Ezio
commited on
Commit
·
1338716
1
Parent(s):
72ee618
Update start.py
Browse files- Powers/plugins/start.py +4 -2
Powers/plugins/start.py
CHANGED
@@ -67,8 +67,9 @@ async def close_admin_callback(_, q: CallbackQuery):
|
|
67 |
@Gojo.on_message(
|
68 |
command("start") & (filters.group | filters.private),
|
69 |
)
|
|
|
70 |
async def start(c: Gojo, m: Message):
|
71 |
-
global StartPic
|
72 |
chat_type = await chattype(m)
|
73 |
if chat_type == "private":
|
74 |
if len(m.text.split()) > 1:
|
@@ -181,8 +182,9 @@ async def commands_menu(_, q: CallbackQuery):
|
|
181 |
|
182 |
|
183 |
@Gojo.on_message(command("help"))
|
|
|
184 |
async def help_menu(_, m: Message):
|
185 |
-
global StartPic
|
186 |
if len(m.text.split()) >= 2:
|
187 |
help_option = (m.text.split(None, 1)[1]).lower()
|
188 |
help_msg, help_kb = await get_help_msg(m, help_option)
|
|
|
67 |
@Gojo.on_message(
|
68 |
command("start") & (filters.group | filters.private),
|
69 |
)
|
70 |
+
StartPic = choice(StartPic)
|
71 |
async def start(c: Gojo, m: Message):
|
72 |
+
global StartPic
|
73 |
chat_type = await chattype(m)
|
74 |
if chat_type == "private":
|
75 |
if len(m.text.split()) > 1:
|
|
|
182 |
|
183 |
|
184 |
@Gojo.on_message(command("help"))
|
185 |
+
StartPic = choice(StartPic)
|
186 |
async def help_menu(_, m: Message):
|
187 |
+
global StartPic
|
188 |
if len(m.text.split()) >= 2:
|
189 |
help_option = (m.text.split(None, 1)[1]).lower()
|
190 |
help_msg, help_kb = await get_help_msg(m, help_option)
|