1.0.1 • Published 1 year ago

@distube/file v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@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");
1.0.1

1 year ago

1.0.0

1 year ago