1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-14 22:10:18 +00:00
musix-oss/commands/playlist/delete.js

11 lines
327 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',
2019-11-19 16:08:00 +00:00
async execute(message, args, client, Discord, prefix) {
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
}
};