Socket
Book a DemoInstallSign in
Socket

commandkit-plugin-discord-player

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commandkit-plugin-discord-player

This is a CommandKit plugin that allows you to use commandkit's event system to listen to discord-player events and also registers discord-player context.

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

CommandKit Plugin Discord Player

This is a CommandKit plugin that allows you to use commandkit's event system to listen to discord-player events and also registers discord-player context.

Installation

npm install commandkit-plugin-discord-player

Usage

In your commandkit.config.ts file, the plugin like this:

import { defineConfig } from 'commandkit';
import { discordPlayer } from 'commandkit-plugin-discord-player';

export default defineConfig({
  plugins: [discordPlayer()],
});

Your bot will now be able to use discord-player events and hooks.

Options

The plugin accepts the following options:

  • queueEventsNamespace: The namespace for the queue events. Defaults to discord-player (aka uses (discord-player) folder).
  • playerEventsNamespace: The namespace for the player events. Defaults to discord-player-main (aka uses (discord-player-main) folder).

Keywords

commandkit

FAQs

Package last updated on 30 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts