mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
Обновление зависимостей, фикс ошибок
This commit is contained in:
parent
495452ce00
commit
df13f7a995
2 changed files with 7 additions and 3 deletions
|
@ -1,7 +1,8 @@
|
||||||
const { MessageEmbed, Client, Collection } = require("discord.js"),
|
const { MessageEmbed, Client, Collection } = require("discord.js"),
|
||||||
{ GiveawaysManager } = require("discord-giveaways"),
|
{ GiveawaysManager } = require("discord-giveaways"),
|
||||||
{ SoundCloudPlugin } = require("@distube/soundcloud"),
|
{ SoundCloudPlugin } = require("@distube/soundcloud"),
|
||||||
{ SpotifyPlugin } = require("@distube/spotify");
|
{ SpotifyPlugin } = require("@distube/spotify"),
|
||||||
|
{ YtDlpPlugin } = require("@distube/yt-dlp");
|
||||||
|
|
||||||
const util = require("util"),
|
const util = require("util"),
|
||||||
AmeClient = require("amethyste-api"),
|
AmeClient = require("amethyste-api"),
|
||||||
|
@ -62,8 +63,10 @@ class JaBa extends Client {
|
||||||
new SpotifyPlugin({
|
new SpotifyPlugin({
|
||||||
emitEventsAfterFetching: true
|
emitEventsAfterFetching: true
|
||||||
}),
|
}),
|
||||||
new SoundCloudPlugin()
|
new SoundCloudPlugin(),
|
||||||
|
new YtDlpPlugin()
|
||||||
],
|
],
|
||||||
|
youtubeDL: false,
|
||||||
emitNewSongOnly: true,
|
emitNewSongOnly: true,
|
||||||
leaveOnEmpty: true,
|
leaveOnEmpty: true,
|
||||||
leaveOnFinish: true,
|
leaveOnFinish: true,
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
"@discordjs/voice": "^0.7.5",
|
"@discordjs/voice": "^0.7.5",
|
||||||
"@distube/soundcloud": "^1.1.0",
|
"@distube/soundcloud": "^1.1.0",
|
||||||
"@distube/spotify": "^1.2.0",
|
"@distube/spotify": "^1.2.0",
|
||||||
|
"@distube/yt-dlp": "^0.0.2",
|
||||||
"@k3rn31p4nic/google-translate-api": "github:k3rn31p4nic/google-translate-api",
|
"@k3rn31p4nic/google-translate-api": "github:k3rn31p4nic/google-translate-api",
|
||||||
"@sentry/node": "6.3.6",
|
"@sentry/node": "6.3.6",
|
||||||
"@sindresorhus/slugify": "^1.1.0",
|
"@sindresorhus/slugify": "^1.1.0",
|
||||||
|
@ -33,7 +34,7 @@
|
||||||
"discord-paginationembed": "github:gazmull/discord-paginationembed#v3",
|
"discord-paginationembed": "github:gazmull/discord-paginationembed#v3",
|
||||||
"discord-together": "^1.3.25",
|
"discord-together": "^1.3.25",
|
||||||
"discord.js": "^13.6.0",
|
"discord.js": "^13.6.0",
|
||||||
"distube": "^3.3.0",
|
"distube": "^3.3.1",
|
||||||
"ejs": "^3.1.3",
|
"ejs": "^3.1.3",
|
||||||
"express": "^4.17.1",
|
"express": "^4.17.1",
|
||||||
"express-session": "^1.17.0",
|
"express-session": "^1.17.0",
|
||||||
|
|
Loading…
Reference in a new issue