Discord Player

QueryType

The search query type

QueryType

The search query type This can be one of:

  • AUTO
  • YOUTUBE
  • YOUTUBE_PLAYLIST
  • SOUNDCLOUD_TRACK
  • SOUNDCLOUD_PLAYLIST
  • SOUNDCLOUD
  • SPOTIFY_SONG
  • SPOTIFY_ALBUM
  • SPOTIFY_PLAYLIST
  • SPOTIFY_SEARCH
  • FACEBOOK
  • VIMEO
  • ARBITRARY
  • REVERBNATION
  • YOUTUBE_SEARCH
  • YOUTUBE_VIDEO
  • SOUNDCLOUD_SEARCH
  • APPLE_MUSIC_SONG
  • APPLE_MUSIC_ALBUM
  • APPLE_MUSIC_PLAYLIST
  • APPLE_MUSIC_SEARCH
  • FILE
  • AUTO_SEARCH
const QueryType = {
  APPLE_MUSIC_ALBUM: 'appleMusicAlbum',
  APPLE_MUSIC_PLAYLIST: 'appleMusicPlaylist',
  APPLE_MUSIC_SEARCH: 'appleMusicSearch',
  APPLE_MUSIC_SONG: 'appleMusicSong',
  ARBITRARY: 'arbitrary',
  AUTO: 'auto',
  AUTO_SEARCH: 'autoSearch',
  FACEBOOK: 'facebook',
  FILE: 'file',
  REVERBNATION: 'reverbnation',
  SOUNDCLOUD: 'soundcloud',
  SOUNDCLOUD_PLAYLIST: 'soundcloudPlaylist',
  SOUNDCLOUD_SEARCH: 'soundcloudSearch',
  SOUNDCLOUD_TRACK: 'soundcloudTrack',
  SPOTIFY_ALBUM: 'spotifyAlbum',
  SPOTIFY_PLAYLIST: 'spotifyPlaylist',
  SPOTIFY_SEARCH: 'spotifySearch',
  SPOTIFY_SONG: 'spotifySong',
  VIMEO: 'vimeo',
  YOUTUBE: 'youtube',
  YOUTUBE_PLAYLIST: 'youtubePlaylist',
  YOUTUBE_SEARCH: 'youtubeSearch',
  YOUTUBE_VIDEO: 'youtubeVideo',
};

On this page