Skip to content

arahiko-ayami/distube-hastebin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

distube-hastebin

A DisTube custom plugin for supporting Hastebin URL.

Feature

This plugin grabs the songs on Hastebin then searches on YouTube and plays with DisTube.

Installation

With npm:

npm install distube-hastebin@latest

With yarn:

yarn add distube-hastebin@latest

With pnpm:

pnpm add distube-hastebin@latest

Usage

const Discord = require("discord.js");
const client = new Discord.Client();
const { DisTube } = require("distube");
const { HastebinPlugin } = require("distube-hastebin");
const distube = new DisTube(client, {
  plugins: [new HastebinPlugin()],
});

Documentation

HastebinPlugin([HastebinPluginOptions])

  • host (string, optional): The host of Hastebin. Defaults to https://www.toptal.com/developers/hastebin/.

Example

new HastebinPlugin({
  host: "https://your-hastebin-host.com", // Your hastebin host.
});

About

Hastebin plugin for Distube

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published