Spaces:
Paused
Paused
BinaryONe
commited on
Commit
·
08283ab
1
Parent(s):
2db220e
Minor Changes
Browse files
YukkiMusic/plugins/play/webapp.py
CHANGED
|
@@ -58,9 +58,10 @@ async def add_user( client, message):
|
|
| 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 |
|
|
|
|
| 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 |
|