Skip to navigation

Play or queue a track

View as Markdown

Plays what query finds, or exactly the track that track names, which is what a search hands back. Either way it goes behind whatever is already playing. The bot joins channelId if it is not already in a call in this guild.

Path parameters

guildIdstringRequiredformat: "^\d{15,22}$"

Request

This endpoint expects an object.
querystringOptional1-500 characters
trackobjectOptional
channelIdstringOptionalformat: "^\d{15,22}$"
Voice channel to join. Required when the bot is not in one yet.

Response

The track that started or was queued.
dataobject

Errors

403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
503
Service Unavailable Error