Spaces:
Paused
Paused
BinaryONe commited on
Commit ·
b13d017
1
Parent(s): 919e0c7
Minor Changes
Browse files
YukkiMusic/plugins/play/webapp.py
CHANGED
|
@@ -52,6 +52,7 @@ 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(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>")
|
|
@@ -60,7 +61,7 @@ async def add_user( client, message):
|
|
| 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(user_id, type(user_id),
|
| 64 |
group_list= MEMBERS_GROUPS
|
| 65 |
GROUP= int( str(MEMBERS_GROUPS[int(user_id)]) )
|
| 66 |
print(GROUP)
|
|
|
|
| 52 |
|
| 53 |
@app.on_message(filters.command("select_group") & filters.user(OWNER_ID) )
|
| 54 |
async def add_user( client, message):
|
| 55 |
+
print(MEMBERS_GROUPS, type(MEMBERS_GROUPS))
|
| 56 |
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>")
|
| 57 |
if len(message.command) == 1:
|
| 58 |
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>")
|
|
|
|
| 61 |
except ValueError or UnboundLocalError:
|
| 62 |
return await message.reply_text(f"**Usage:**\n <code> /select_group <1,2,3> </code> \n ValueError or UnboundLocalError")
|
| 63 |
|
| 64 |
+
print(user_id, type(user_id),MEMBERS_GROUPS[int(user_id)], type(MEMBERS_GROUPS[user_id]))
|
| 65 |
group_list= MEMBERS_GROUPS
|
| 66 |
GROUP= int( str(MEMBERS_GROUPS[int(user_id)]) )
|
| 67 |
print(GROUP)
|