From 5e068e573fba74f398fa18d4dd8e19a3c98cdc68 Mon Sep 17 00:00:00 2001 From: DevAndromeda <46562212+DevAndromeda@users.noreply.github.com> Date: Wed, 26 Jan 2022 01:13:44 +0545 Subject: [PATCH] docs: add smooth volume example --- example/music-bot/index.js | 1 + example/music-bot/package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/example/music-bot/index.js b/example/music-bot/index.js index d02659d..adad69f 100644 --- a/example/music-bot/index.js +++ b/example/music-bot/index.js @@ -1,6 +1,7 @@ require("dotenv").config({ path: __dirname+"/.env" }); +require("discord-player/smoothVolume"); const { Client, GuildMember, Intents } = require("discord.js"); const config = require("./config"); const { Player, QueryType, QueueRepeatMode } = require("discord-player"); diff --git a/example/music-bot/package.json b/example/music-bot/package.json index 55df143..a40de81 100644 --- a/example/music-bot/package.json +++ b/example/music-bot/package.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "@discordjs/opus": "^0.5.3", - "discord-player": "^5.0.2", + "discord-player": "^5.2.1", "discord.js": "^13.0.1", "dotenv": "^10.0.0" }