Version 0.6.2 - Fix des fonctionnalités externes de la version

This commit is contained in:
CICD - Pipeline 2023-08-29 11:55:18 +02:00
parent ebb0475de1
commit 31511b930e
4 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
{
"name": "subsonics-web",
"author": "Raphix",
"version": "0.6.1",
"version": "0.6.2",
"nodemonConfig": {
"ext": "js, html",
"ignore": [

View File

@ -178,7 +178,7 @@ module.exports.List = class {
}
async playlistAdd(playlist, interaction) {
async playlistAdd(playlist, interaction, userId) {
if(interaction) {

View File

@ -177,11 +177,11 @@ module.exports.getState = function(client, interaction) {
}
module.exports.playPlaylist = function (data, client) {
module.exports.playPlaylist = function (id, client) {
list.playlistAdd(data, null)
list.playlistAdd(data, null, id)

View File

@ -94,7 +94,7 @@ module.exports.playPlaylist = function (id, name) {
if(playlists[id][name]) {
plog.log("Ajout de la playlist à l'utilisateur \"" + id + "\" dans la liste de lecture !")
subplayer.playPlaylist(playlists[id][name])
subplayer.playPlaylist(id, playlists[id][name])
} else {
plog.log("L'utilisateur \"" + id + "\" n'a pas une playlist avec le nom "+ name + " dans la base de donnée Playlist !")