docs: add smooth volume example

This commit is contained in:
DevAndromeda 2022-01-26 01:13:44 +05:45
parent 75a2117602
commit 5e068e573f
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,7 @@
require("dotenv").config({ require("dotenv").config({
path: __dirname+"/.env" path: __dirname+"/.env"
}); });
require("discord-player/smoothVolume");
const { Client, GuildMember, Intents } = require("discord.js"); const { Client, GuildMember, Intents } = require("discord.js");
const config = require("./config"); const config = require("./config");
const { Player, QueryType, QueueRepeatMode } = require("discord-player"); const { Player, QueryType, QueueRepeatMode } = require("discord-player");

View file

@ -10,7 +10,7 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@discordjs/opus": "^0.5.3", "@discordjs/opus": "^0.5.3",
"discord-player": "^5.0.2", "discord-player": "^5.2.1",
"discord.js": "^13.0.1", "discord.js": "^13.0.1",
"dotenv": "^10.0.0" "dotenv": "^10.0.0"
} }