Skip to content

Output Search Info #13

@wc3717

Description

@wc3717

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}`)

});

}`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions