1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 02:00:20 +00:00

Update ready.js

This commit is contained in:
MatteZ02 2019-10-12 18:56:44 +03:00
parent 198130700c
commit 1b4dd3921b

View File

@ -23,8 +23,8 @@ module.exports = {
});
if (client.global.db.guilds[guild.id].premium) {
client.db.collection('playlists').doc(guild.id).set({
songs: client.global.db.playlists[message.guild.id].songs,
saved: client.global.db.playlists[message.guild.id].saved,
songs: client.global.db.playlists[guild.id].songs,
saved: client.global.db.playlists[guild.id].saved,
});
}
});