Skip to main content

Playing Tracks

This section demonstrates how to search for and play tracks. It covers the entire process from handling a user command to getting music playing in a voice channel.

Complete Play Command Example

This example shows a complete play command for a Discord bot using slash commands.

Search Methods

AquaLink supports multiple ways to search for tracks:

Track Information

Accessing Track Properties

Creating Track Display

Playlist Handling

Loading Playlists

Playlist Information

Queue Management

Adding Multiple Tracks

Queue Information

Auto-Play Features

Continuous Playback

Smart Queue Management

Error Handling

Comprehensive Error Handling

Always validate user permissions and bot permissions before attempting to create connections or play tracks. This prevents common errors and improves user experience.
Use embeds to provide rich information about tracks and playlists. Users appreciate seeing thumbnails, duration, and other metadata when tracks are added to the queue.