Discord Player
Plugins

Plugins

Add music providers, customize queue behavior, or supply a playback backend.

You are reading the v8 docsDev

A source plugin tells Discord Player how to recognize a query, find tracks, and return audio that Remedia can play. Discord Player has no built-in providers, so you register the plugins your bot needs.

import { Player } from 'discord-player';

const player = new Player({
  plugins: [mySourcePlugin()],
  send,
});

mySourcePlugin is your plugin. The manual setup tutorial builds a working one, and the generated bot includes one that restricts hosts.

Choose a topic

Advanced

Continue reading

Build a source plugin

On this page