Releases: BebanCode/commandkit-plugin-riffy
Releases · BebanCode/commandkit-plugin-riffy
v0.0.2-part-2
Full Changelog: 0.0.1...0.0.2-part-2
v0.0.1
This is the initial release of commandkit-plugin-riffy.
This plugin integrates the Riffy Lavalink client with the CommandKit framework. It is designed to manage the Riffy client's lifecycle and bridge all of its events into the CommandKit event system, providing a streamlined way to handle audio playback.
Core Features
- Automatically initializes and manages the Riffy client.
- Bridges Riffy events to a configurable CommandKit event namespace (defaults to
'riffy'). - The Riffy instance is attached to the client object (
client.riffy) for easy access.
Installation
To install the package, run the following command:
npm install commandkit-plugin-riffyBasic Usage
To use the plugin, register it in your commandkit.config.ts file:
import { defineConfig } from 'commandkit';
import { riffyPlugin } from 'commandkit-plugin-riffy';
export default defineConfig({
plugins: [
riffyPlugin({
riffyNodes: [
{
host: 'localhost',
port: 2333,
password: 'your_lavalink_password',
},
],
}),
],
});As this is the first version, please report any bugs or issues by opening an issue on the repository.