@distube/file
v1.0.1
Published
A DisTube playable extractor plugin for supporting local files.
Downloads
242
Maintainers
Readme
@distube/file
A DisTube playable extractor plugin for supporting local files.
What is a playable extractor plugin?
Installation
npm install @distube/file@latest
Usage
import { DisTube } from "distube";
import { FilePlugin } from "@distube/file";
const distube = new DisTube(client, {
plugins: [new FilePlugin()],
});
distube.play(vc, "file://path/to/file.mp3");
distube.play(vc, "file:///../relative/path/to/file.mp3");