|
|
@ -182,11 +182,11 @@ exports.GuildHandler = class {
|
|
|
|
|
|
|
|
|
|
|
|
// saved command - prints out saved playlists
|
|
|
|
// saved command - prints out saved playlists
|
|
|
|
this.createCommand(prefix + 'saved', () => {
|
|
|
|
this.createCommand(prefix + 'saved', () => {
|
|
|
|
let response = '```markdown\nSaved Playlists:\n==\n'
|
|
|
|
let response = '```markdown\nSaved Playlists:\n==\n';
|
|
|
|
Object.entries(this.getData('savedplaylists')).forEach(([key, value]) => {
|
|
|
|
Object.entries(this.getData('savedplaylists')).forEach(([key, value]) => {
|
|
|
|
response += `${key.padEnd(10, ' ')} ${value} \n\n`;
|
|
|
|
response += `${key.padEnd(10, ' ')} ${value} \n\n`;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
response += '```'
|
|
|
|
response += '```';
|
|
|
|
return response;
|
|
|
|
return response;
|
|
|
|
}, [], "Prints out all saved playlists.");
|
|
|
|
}, [], "Prints out all saved playlists.");
|
|
|
|
}
|
|
|
|
}
|
|
|
|