1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 08:10:18 +00:00
musix-oss/commands/playlist/delete.js
2019-11-20 08:05:01 +02:00

11 lines
327 B
JavaScript

module.exports = {
name: 'delete',
async execute(message, args, client, Discord, prefix) {
client.global.db.playlists[message.guild.id] = {
songs: [],
firstSong: undefined,
saved: false,
};
message.channel.send(':wastebasket: Deleted the playlist.');
}
};