Version 0.6.2 - Fix des fonctionnalités externes de la version
This commit is contained in:
parent
ebb0475de1
commit
31511b930e
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "subsonics-web",
|
||||
"author": "Raphix",
|
||||
"version": "0.6.1",
|
||||
"version": "0.6.2",
|
||||
"nodemonConfig": {
|
||||
"ext": "js, html",
|
||||
"ignore": [
|
||||
|
@ -178,7 +178,7 @@ module.exports.List = class {
|
||||
|
||||
}
|
||||
|
||||
async playlistAdd(playlist, interaction) {
|
||||
async playlistAdd(playlist, interaction, userId) {
|
||||
|
||||
if(interaction) {
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
||||
|
||||
|
@ -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 !")
|
||||
|
Loading…
x
Reference in New Issue
Block a user