mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
v4.1.12 - https://github.com/JonnyBro/JaBa-logs
This commit is contained in:
parent
6b95a2c8a3
commit
7a3fa0bea5
4 changed files with 39 additions and 16 deletions
|
@ -1,5 +1,4 @@
|
||||||
const { SlashCommandBuilder, EmbedBuilder, ActionRowBuilder, ButtonBuilder, ButtonStyle, PermissionsBitField } = require("discord.js"),
|
const { SlashCommandBuilder, EmbedBuilder, ActionRowBuilder, ButtonBuilder, ButtonStyle, PermissionsBitField } = require("discord.js");
|
||||||
{ QueryType } = require("discord-player-play-dl");
|
|
||||||
const BaseCommand = require("../../base/BaseCommand");
|
const BaseCommand = require("../../base/BaseCommand");
|
||||||
|
|
||||||
class Play extends BaseCommand {
|
class Play extends BaseCommand {
|
||||||
|
@ -45,8 +44,7 @@ class Play extends BaseCommand {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
var searchResult = await client.player.search(query, {
|
var searchResult = await client.player.search(query, {
|
||||||
requestedBy: interaction.user,
|
requestedBy: interaction.user
|
||||||
searchEngine: QueryType.AUTO
|
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!searchResult.tracks[0] || !searchResult)
|
if (!searchResult.tracks[0] || !searchResult)
|
||||||
|
@ -194,7 +192,7 @@ class Play extends BaseCommand {
|
||||||
components: [row1, row2, row3]
|
components: [row1, row2, row3]
|
||||||
});
|
});
|
||||||
|
|
||||||
collector.end();
|
collector.stop();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
### JaBa v4.1.12
|
||||||
|
* Исправления
|
||||||
|
* Временный фикс поиска по ссылкам пока официальный модуль не обновился.
|
||||||
|
|
||||||
### JaBa v4.1.11
|
### JaBa v4.1.11
|
||||||
* Изменения
|
* Изменения
|
||||||
* Команды которые нельзя использовать в ЛС с ботом не будут там отображаться.
|
* Команды которые нельзя использовать в ЛС с ботом не будут там отображаться.
|
||||||
|
|
39
package-lock.json
generated
39
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "jaba",
|
"name": "jaba",
|
||||||
"version": "4.1.4",
|
"version": "4.1.12",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "jaba",
|
"name": "jaba",
|
||||||
"version": "4.1.4",
|
"version": "4.1.12",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@discord-player/extractor": "^3.0.2",
|
"@discord-player/extractor": "^3.0.2",
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
"cron": "^2.1.0",
|
"cron": "^2.1.0",
|
||||||
"discord-api-types": "^0.37.5",
|
"discord-api-types": "^0.37.5",
|
||||||
"discord-giveaways": "^6.0.1",
|
"discord-giveaways": "^6.0.1",
|
||||||
"discord-player-play-dl": "^5.3.6",
|
"discord-player-play-dl": "^5.3.7",
|
||||||
"discord.js": "^14.3.0",
|
"discord.js": "^14.3.0",
|
||||||
"ejs": "^3.1.3",
|
"ejs": "^3.1.3",
|
||||||
"express": "^4.17.1",
|
"express": "^4.17.1",
|
||||||
|
@ -1480,13 +1480,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/discord-player-play-dl": {
|
"node_modules/discord-player-play-dl": {
|
||||||
"version": "5.3.6",
|
"version": "5.3.7",
|
||||||
"resolved": "https://registry.npmjs.org/discord-player-play-dl/-/discord-player-play-dl-5.3.6.tgz",
|
"resolved": "https://registry.npmjs.org/discord-player-play-dl/-/discord-player-play-dl-5.3.7.tgz",
|
||||||
"integrity": "sha512-xHcGl5RvyEP85FqN3EBJT4Ws/D1oA3yhCrbxNhhNI8BTX6eNS7Y0EY1pSTP9GLae/ql6nq106CWr18krj+r0ZA==",
|
"integrity": "sha512-lj4QfiewbbU3jxhCfPcHdbOVYFcIiykBYYUxu/7okqp825igcU5Biv4NE8i+HV3XLxRyy6DDfyTQDJdbe61u3w==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@discordjs/voice": "^0.11.0",
|
"@discordjs/voice": "^0.11.0",
|
||||||
"libsodium-wrappers": "^0.7.10",
|
"libsodium-wrappers": "^0.7.10",
|
||||||
"play-dl": "^1.9.5",
|
"play-dl": "^1.9.5",
|
||||||
|
"play-dl2": "^1.9.6",
|
||||||
"spotify-url-info": "^3.1.2",
|
"spotify-url-info": "^3.1.2",
|
||||||
"tiny-typed-emitter": "^2.1.0",
|
"tiny-typed-emitter": "^2.1.0",
|
||||||
"tslib": "^2.4.0"
|
"tslib": "^2.4.0"
|
||||||
|
@ -3662,6 +3663,17 @@
|
||||||
"node": ">=16.0.0"
|
"node": ">=16.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/play-dl2": {
|
||||||
|
"version": "1.9.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/play-dl2/-/play-dl2-1.9.6.tgz",
|
||||||
|
"integrity": "sha512-CLx1K5+rIeGFO15OyDD05Uncc7EipLrO2JhbW4+IvopEQUb1z+Cg9ojSp7aVzQUhq/ZHlEnB6G1a+G0gBxT3HQ==",
|
||||||
|
"dependencies": {
|
||||||
|
"play-audio": "^0.5.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=16.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/prelude-ls": {
|
"node_modules/prelude-ls": {
|
||||||
"version": "1.2.1",
|
"version": "1.2.1",
|
||||||
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
|
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
|
||||||
|
@ -5837,13 +5849,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"discord-player-play-dl": {
|
"discord-player-play-dl": {
|
||||||
"version": "5.3.6",
|
"version": "5.3.7",
|
||||||
"resolved": "https://registry.npmjs.org/discord-player-play-dl/-/discord-player-play-dl-5.3.6.tgz",
|
"resolved": "https://registry.npmjs.org/discord-player-play-dl/-/discord-player-play-dl-5.3.7.tgz",
|
||||||
"integrity": "sha512-xHcGl5RvyEP85FqN3EBJT4Ws/D1oA3yhCrbxNhhNI8BTX6eNS7Y0EY1pSTP9GLae/ql6nq106CWr18krj+r0ZA==",
|
"integrity": "sha512-lj4QfiewbbU3jxhCfPcHdbOVYFcIiykBYYUxu/7okqp825igcU5Biv4NE8i+HV3XLxRyy6DDfyTQDJdbe61u3w==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@discordjs/voice": "^0.11.0",
|
"@discordjs/voice": "^0.11.0",
|
||||||
"libsodium-wrappers": "^0.7.10",
|
"libsodium-wrappers": "^0.7.10",
|
||||||
"play-dl": "^1.9.5",
|
"play-dl": "^1.9.5",
|
||||||
|
"play-dl2": "^1.9.6",
|
||||||
"spotify-url-info": "^3.1.2",
|
"spotify-url-info": "^3.1.2",
|
||||||
"tiny-typed-emitter": "^2.1.0",
|
"tiny-typed-emitter": "^2.1.0",
|
||||||
"tslib": "^2.4.0"
|
"tslib": "^2.4.0"
|
||||||
|
@ -7463,6 +7476,14 @@
|
||||||
"play-audio": "^0.5.2"
|
"play-audio": "^0.5.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"play-dl2": {
|
||||||
|
"version": "1.9.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/play-dl2/-/play-dl2-1.9.6.tgz",
|
||||||
|
"integrity": "sha512-CLx1K5+rIeGFO15OyDD05Uncc7EipLrO2JhbW4+IvopEQUb1z+Cg9ojSp7aVzQUhq/ZHlEnB6G1a+G0gBxT3HQ==",
|
||||||
|
"requires": {
|
||||||
|
"play-audio": "^0.5.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
"prelude-ls": {
|
"prelude-ls": {
|
||||||
"version": "1.2.1",
|
"version": "1.2.1",
|
||||||
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
|
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "jaba",
|
"name": "jaba",
|
||||||
"version": "4.1.11",
|
"version": "4.1.12",
|
||||||
"description": "My Discord Bot",
|
"description": "My Discord Bot",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
"cron": "^2.1.0",
|
"cron": "^2.1.0",
|
||||||
"discord-api-types": "^0.37.5",
|
"discord-api-types": "^0.37.5",
|
||||||
"discord-giveaways": "^6.0.1",
|
"discord-giveaways": "^6.0.1",
|
||||||
"discord-player-play-dl": "^5.3.6",
|
"discord-player-play-dl": "^5.3.7",
|
||||||
"discord.js": "^14.3.0",
|
"discord.js": "^14.3.0",
|
||||||
"ejs": "^3.1.3",
|
"ejs": "^3.1.3",
|
||||||
"express": "^4.17.1",
|
"express": "^4.17.1",
|
||||||
|
|
Loading…
Reference in a new issue