Spaces:
Paused
Paused
Hêllẞøy
commited on
Commit
·
bfa4f8a
1
Parent(s):
b2e9960
Update start.py
Browse files- Powers/plugins/start.py +3 -0
Powers/plugins/start.py
CHANGED
|
@@ -218,6 +218,9 @@ async def help_menu(_, m: Message):
|
|
| 218 |
else:
|
| 219 |
|
| 220 |
if m.chat.type == ChatType.PRIVATE:
|
|
|
|
|
|
|
|
|
|
| 221 |
keyboard = ikb(ou, True)
|
| 222 |
msg = f"""
|
| 223 |
Hey **[{m.from_user.first_name}](http://t.me/{m.from_user.username})**!My name is Gojo✨.
|
|
|
|
| 218 |
else:
|
| 219 |
|
| 220 |
if m.chat.type == ChatType.PRIVATE:
|
| 221 |
+
cmds = sorted(list(HELP_COMMANDS.keys()))
|
| 222 |
+
kb = [cmd.lower() for cmd in cmds]
|
| 223 |
+
ou = [kb[i : i + 3] for i in range(0, len(kb), 3)]
|
| 224 |
keyboard = ikb(ou, True)
|
| 225 |
msg = f"""
|
| 226 |
Hey **[{m.from_user.first_name}](http://t.me/{m.from_user.username})**!My name is Gojo✨.
|