Spaces:
Paused
Paused
BinaryONe commited on
Commit ·
01ef176
1
Parent(s): cfcdccd
Minor Changes
Browse files
YukkiMusic/__init__.py
CHANGED
|
@@ -47,4 +47,4 @@ Resso = RessoAPI()
|
|
| 47 |
SoundCloud = SoundAPI()
|
| 48 |
Telegram = TeleAPI()
|
| 49 |
|
| 50 |
-
|
|
|
|
| 47 |
SoundCloud = SoundAPI()
|
| 48 |
Telegram = TeleAPI()
|
| 49 |
|
| 50 |
+
|
YukkiMusic/plugins/play/webapp.py
CHANGED
|
@@ -54,14 +54,16 @@ GROUP = 0
|
|
| 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(message.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
|
| 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> \n ValueError or UnboundLocalError")
|
|
|
|
| 62 |
print(MEMBERS_GROUPS,MEMBERS_GROUPS[user_id], type(MEMBERS_GROUPS[user_id]))
|
| 63 |
group_list= MEMBERS_GROUPS
|
| 64 |
GROUP= int( str(MEMBERS_GROUPS[user_id]) )
|
|
|
|
| 65 |
await message.reply_text(f"**Group Set Successfully")
|
| 66 |
|
| 67 |
|
|
|
|
| 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(message.command) == 1:
|
| 57 |
+
return await message.reply_text(f"**Wrong One Follow Usage:** 1.Nalle Berozgar \n 2.Only Logs [ Updates Group ] \n 3.Me & Her \n <code> /select_group <0,1,2> </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> \n ValueError or UnboundLocalError")
|
| 62 |
+
|
| 63 |
print(MEMBERS_GROUPS,MEMBERS_GROUPS[user_id], type(MEMBERS_GROUPS[user_id]))
|
| 64 |
group_list= MEMBERS_GROUPS
|
| 65 |
GROUP= int( str(MEMBERS_GROUPS[user_id]) )
|
| 66 |
+
print(GROUP)
|
| 67 |
await message.reply_text(f"**Group Set Successfully")
|
| 68 |
|
| 69 |
|