Spaces:
Paused
Paused
BinaryONe
commited on
Commit
·
1a20249
1
Parent(s):
d9d755d
Minor Changes
Browse files
YukkiMusic/plugins/play/webapp.py
CHANGED
|
@@ -48,19 +48,20 @@ from YukkiMusic.utils.stream.stream import stream
|
|
| 48 |
from .Chat_Selecter import chat_selecter
|
| 49 |
|
| 50 |
|
| 51 |
-
GROUP =
|
| 52 |
|
| 53 |
@app.on_message(filters.command("select_group") & filters.user(OWNER_ID) )
|
| 54 |
-
async def add_user(
|
|
|
|
| 55 |
if len(m.command) == 1:
|
| 56 |
-
return await
|
| 57 |
try:
|
| 58 |
-
user_id = int(
|
| 59 |
except ValueError or UnboundLocalError:
|
| 60 |
-
return await
|
| 61 |
group_list= MEMBERS_GROUPS
|
| 62 |
-
GROUP= int(MEMBERS_GROUPS[user_id])
|
| 63 |
-
await
|
| 64 |
|
| 65 |
|
| 66 |
|
|
|
|
| 48 |
from .Chat_Selecter import chat_selecter
|
| 49 |
|
| 50 |
|
| 51 |
+
GROUP = 0
|
| 52 |
|
| 53 |
@app.on_message(filters.command("select_group") & filters.user(OWNER_ID) )
|
| 54 |
+
async def add_user( client, message):
|
| 55 |
+
await message.reply_text(f"**Usage:** 1.Nalle Berozgar \n 2.Only Logs [ Updates Group ] \n 3.Me & Her \n <code> /select_group <1,2,3> </code>")
|
| 56 |
if len(m.command) == 1:
|
| 57 |
+
return await message.reply_text(f"**Usage:** 1.Nalle Berozgar \n 2.Only Logs [ Updates Group ] \n 3.Me & Her \n <code> /select_group <1,2,3> </code>")
|
| 58 |
try:
|
| 59 |
+
user_id = int(message.command[1])
|
| 60 |
except ValueError or UnboundLocalError:
|
| 61 |
+
return await message.reply_text(f"**Usage:**\n <code> /select_group <1,2,3> </code>")
|
| 62 |
group_list= MEMBERS_GROUPS
|
| 63 |
+
GROUP= int( MEMBERS_GROUPS[user_id] )
|
| 64 |
+
await message.reply_text(f"**Group Set Successfully")
|
| 65 |
|
| 66 |
|
| 67 |
|