Spaces:
Running
Running
Update DragMusic/plugins/management/id.py
Browse files
DragMusic/plugins/management/id.py
CHANGED
@@ -37,14 +37,14 @@ async def id_handler(client, message: Message):
|
|
37 |
)
|
38 |
buttons = [
|
39 |
[
|
40 |
-
InlineKeyboardButton("
|
41 |
-
InlineKeyboardButton("
|
42 |
]
|
43 |
]
|
44 |
else:
|
45 |
text = f"User: {name}\nUser ID: {user_id}"
|
46 |
buttons = [
|
47 |
-
[InlineKeyboardButton("
|
48 |
]
|
49 |
|
50 |
await message.reply(
|
|
|
37 |
)
|
38 |
buttons = [
|
39 |
[
|
40 |
+
InlineKeyboardButton("User ID", copy_text=str(user_id)),
|
41 |
+
InlineKeyboardButton("Group ID", copy_text=str(group_id)),
|
42 |
]
|
43 |
]
|
44 |
else:
|
45 |
text = f"User: {name}\nUser ID: {user_id}"
|
46 |
buttons = [
|
47 |
+
[InlineKeyboardButton("User ID", copy_text=str(user_id))]
|
48 |
]
|
49 |
|
50 |
await message.reply(
|