Spaces:
Sleeping
Sleeping
Captain Ezio
commited on
Commit
·
45fd7a8
1
Parent(s):
a29c9ce
Update start.py
Browse files- Powers/plugins/start.py +10 -2
Powers/plugins/start.py
CHANGED
@@ -213,6 +213,7 @@ async def help_menu(_, m: Message):
|
|
213 |
],
|
214 |
],
|
215 |
),
|
|
|
216 |
else:
|
217 |
|
218 |
if m.chat.type == ChatType.PRIVATE:
|
@@ -225,8 +226,15 @@ Commands available:
|
|
225 |
* /start: Start the bot
|
226 |
* /help: Give's you this message."""
|
227 |
else:
|
228 |
-
keyboard =
|
229 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
230 |
)
|
231 |
msg = "Contact me in PM to get the list of possible commands."
|
232 |
|
|
|
213 |
],
|
214 |
],
|
215 |
),
|
216 |
+
)
|
217 |
else:
|
218 |
|
219 |
if m.chat.type == ChatType.PRIVATE:
|
|
|
226 |
* /start: Start the bot
|
227 |
* /help: Give's you this message."""
|
228 |
else:
|
229 |
+
keyboard = InlineKeyboardMarkup(
|
230 |
+
[
|
231 |
+
[
|
232 |
+
InlineKeyboardButton(
|
233 |
+
"Help",
|
234 |
+
url=f"t.me/{Config.BOT_USERNAME}?start=help",
|
235 |
+
),
|
236 |
+
],
|
237 |
+
],
|
238 |
)
|
239 |
msg = "Contact me in PM to get the list of possible commands."
|
240 |
|