/search command: pick songs from YouTube results

/search looks a song up on YouTube and shows you up to ten results before anything plays. Each result lists its title, channel and length, and a menu under the list lets you pick the ones you want. The list is only visible to you, so it doesn’t fill the channel.

Pick one result to play it, or select several and they are queued in the order you picked them. Use it when the top hit isn’t the version you want, or to take a few songs from one search. For a single song, the suggestions in /play do the same job in one step.

Options

Options of /search
OptionWhat it does
query

Text · required

What to search for on YouTube.

Examples

/search query:bohemian rhapsody
Shows up to 10 YouTube results, privately, with a menu to pick from.
/search query:lofi hip hop
Select three results in the menu and all three are queued, in the order you picked them. The menu is replaced by the titles you chose.

Who can use it

  • Each pick goes through the same checks as /play: you need to be in a voice channel Bypass can join, and the server’s "Add songs" rule applies (everyone by default).
  • Only the member who searched can use the menu.
  • Admins can also turn a command off for members without Manage Server (/commanddisable), keep commands to some text channels (/settings textchannels), and block members from the bot (/settings blacklist).

Premium

Not needed.

Limits

  • YouTube only.
  • Results are kept for about 10 minutes and are cleared when the bot restarts. If the menu has expired, search again.
  • The server’s queue size, song length and duplicate rules apply to each pick, as with /play.
  • Cooldown: 3 seconds per member.

On the web dashboard

The Add song panel on the web dashboard searches too: type a name and add any result to a bot’s queue.

Open the dashboard
  • /play

    Play a song, a link or a playlist in your voice channel.

  • /queue

    See the song playing now and the songs waiting, 10 per page.

  • /play_file

    Play an audio file you upload.