1.0.5 • Published 1 year ago

distube-yandex-music-plugin v1.0.5

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

distube-yandex-music-plugin

A DisTube custom plugin for supporting Yandex Music URL. Created by AlexInCube

Warning

If you want to use it with Distube v4, install v0.2.1 version of this plugin. Version ^1.0.3 works only with Distube v5.

Feature

This plugin grabs the songs on Yandexmusic and plays with DisTube.

Examples of supported links:

If you have some troubles, please create an issue.
You need the Premium Subscription in Yandex Music if you want to use this API outside Russia VDS

Installation

npm install distube-yandex-music-plugin@latest

Usage

const Discord = require("discord.js");
const client = new Discord.Client();

const { DisTube } = require("distube");
const { YandexMusicPlugin } = require("distube-yandex-music-plugin");

const distube = new DisTube(client, {
  plugins: [new YandexMusicPlugin({
      oauthToken: "your_token",
      uid: "your_uid"
  })],
});

Documentation

YandexMusicPlugin(YandexMusicPluginOptions)

  • oauthToken:: Required for using Yandex API. You can retrieve token by following this guide
  • uid:: Required for using Yandex API. You can retrieve uid by opening Yandex Mail and copy uid from url in address bar.

Token and UID must relate to one account

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago