📖 Introduction
YTDL player plugin for discordx bots.
💻 Installation
npm install @discordx/plugin-ytdl-player
yarn add @discordx/plugin-ytdl-player
pnpm add @discordx/plugin-ytdl-player
📄 Usage
import { Client, MetadataStorage } from "discordx";
import { YTDLPlayerPlugin } from "@discordx/plugin-ytdl-player";
// Initialize the Plugin:
const ytdlPlugin = new YTDLPlayerPlugin({ metadata: MetadataStorage.instance });
// Provide the plugin to the Discordx Client:
const client = new Client({ plugins: [ytdlPlugin] });
📜 Documentation
☎️ Need help?
- Check frequently asked questions
- Check examples
- Ask in the community Discord server