mirror of
https://github.com/musix-org/musix-oss
synced 2025-06-16 18:56:00 +00:00
Fix code to work on this decade 1/x
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
module.exports = {
|
||||
name: 'save',
|
||||
async execute(message, args, client, Discord, prefix) {
|
||||
async execute(message, args, client, prefix) {
|
||||
const serverQueue = client.queue.get(message.guild.id);
|
||||
if (!serverQueue) return message.channel.send(':x: There is nothing playing!');
|
||||
client.global.db.playlists[message.guild.id] = {
|
||||
@ -10,4 +10,4 @@ module.exports = {
|
||||
};
|
||||
message.channel.send(":white_check_mark: Queue saved!");
|
||||
}
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user