riffy-deezer
v1.0.5
Published
Deezer plugin for Riffy.js (https://github.com/riffy-team/riffy)
Readme
Deezer plugin for riffy. This plugin allows you to resolve and play Deezer tracks, albums, and playlists inside your Discord music bot.
Features
- Supports Deezer track, album, and playlist links
- Fetches metadata (title, artist, artwork, duration) from the Deezer API
- Lightweight and requires no API keys or tokens
- Works seamlessly with your existing riffy setup
Installation
npm install riffy-deezerUsage
const { Riffy } = require("riffy")
const { Deezer } = require("riffy-deezer")
client.riffy = new Riffy(client, nodes, {
send: (payload) => {
const guild = client.guilds.cache.get(payload.d.guild_id);
if (guild) guild.shard.send(payload);
},
defaultSearchPlatform: "spsearch",
restVersion: "v4",
plugins: [new Deezer()]
});Supported Links
- Track:
https://www.deezer.com/track/123456 - Album:
https://www.deezer.com/album/123456 - Playlist:
https://www.deezer.com/playlist/123456
Example Resolved Track
For the link:
https://www.deezer.com/track/123456This plugin resolves to:
Track Title by Artist NameLicense
This project is licensed under the MIT License
