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

12 lines
319 B
JavaScript
Raw Normal View History

2019-11-19 16:08:00 +00:00
module.exports = {
2019-11-19 16:10:20 +00:00
name: 'delete',
2024-02-09 09:53:30 +00:00
async execute(message, args, client, prefix) {
2019-11-19 16:08:00 +00:00
client.global.db.playlists[message.guild.id] = {
songs: [],
firstSong: undefined,
saved: false,
};
2019-11-20 06:05:01 +00:00
message.channel.send(':wastebasket: Deleted the playlist.');
2019-11-19 16:08:00 +00:00
}
2024-02-09 09:53:30 +00:00
};