From 36539ebe21b94ce8c23ad78cd178212e60ef5f64 Mon Sep 17 00:00:00 2001 From: Raphix Date: Tue, 29 Aug 2023 12:01:02 +0200 Subject: [PATCH] =?UTF-8?q?Version=200.6.2=20-=20Fix=20des=20fonctionnalit?= =?UTF-8?q?=C3=A9s=20externes=20de=20la=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/users.json | 40 +++++++++++++++++++++++++++++++++++++++- src/modules/sub-list.js | 4 ++-- 2 files changed, 41 insertions(+), 3 deletions(-) diff --git a/data/users.json b/data/users.json index 0637a08..c5a8995 100644 --- a/data/users.json +++ b/data/users.json @@ -1 +1,39 @@ -[] \ No newline at end of file +[ + { + "auth": { + "token_type": "Bearer", + "access_token": "jY17lCWaOpTdPQCnz50kfNm7ABpsGz", + "expires_in": 604800, + "refresh_token": "3TronknZ7j5kVSDBjI3OechmCYF8ck", + "scope": "identify guilds.members.read guilds" + }, + "avatar": null, + "communication_disabled_until": null, + "flags": 0, + "joined_at": "2023-03-06T18:20:23.413000+00:00", + "nick": "Raphix", + "pending": false, + "premium_since": null, + "roles": [ + "397725552968204288" + ], + "user": { + "id": "486943594893017119", + "username": "raphixscrap", + "avatar": "7129e80c23aa3ba3d2d45814dd352a29", + "discriminator": "0", + "public_flags": 4194368, + "flags": 4194368, + "banner": null, + "accent_color": 10712214, + "global_name": "Raphix", + "avatar_decoration_data": null, + "banner_color": "#a37496" + }, + "mute": false, + "deaf": false, + "bio": "", + "banner": null, + "token": "bbc2f9a1-a52c-4548-895b-2c3b9095e2d4" + } +] \ No newline at end of file diff --git a/src/modules/sub-list.js b/src/modules/sub-list.js index 9eea4d0..0bc448c 100644 --- a/src/modules/sub-list.js +++ b/src/modules/sub-list.js @@ -245,8 +245,8 @@ module.exports.List = class { } for(var song of playlist) { - - const song_finded = await client.manager.search(song.url) + + const song_finded = await client.manager.search(song.uri) next.push(song_finded.tracks[0]) }