When I output the search results my Discord bot says [object, Object]. Here is the code
if(command === "search") { var spotify = require('spotify'); let song = command[1]; spotify.search({ type: 'track', query: ${song}` }, function(err, data) {
message.channel.send(`${data}`)
});
}`