Временный фикс поиска по ссылкам
This commit is contained in:
parent
8729886d64
commit
0a2769f21d
5 changed files with 11 additions and 3 deletions
|
@ -63,6 +63,7 @@
|
|||
"@discordjs/voice": "^0.11.0",
|
||||
"libsodium-wrappers": "^0.7.10",
|
||||
"play-dl": "^1.9.5",
|
||||
"play-dl2": "^1.9.6",
|
||||
"spotify-url-info": "^3.1.2",
|
||||
"tiny-typed-emitter": "^2.1.0",
|
||||
"tslib": "^2.4.0"
|
||||
|
|
|
@ -4,7 +4,7 @@ import { Queue } from "./Structures/Queue";
|
|||
import { VoiceUtils } from "./VoiceInterface/VoiceUtils";
|
||||
import { PlayerEvents, PlayerOptions, QueryType, SearchOptions, PlayerInitOptions, PlayerSearchResult, PlaylistInitData } from "./types/types";
|
||||
import Track from "./Structures/Track";
|
||||
import play, { SoundCloudPlaylist, YouTubePlayList } from "play-dl";
|
||||
import play, { SoundCloudPlaylist, YouTubePlayList } from "play-dl2";
|
||||
import Spotify from "spotify-url-info";
|
||||
import { QueryResolver } from "./utils/QueryResolver";
|
||||
import { Util } from "./utils/Util";
|
||||
|
|
|
@ -4,7 +4,7 @@ import { StreamDispatcher } from "../VoiceInterface/StreamDispatcher";
|
|||
import Track from "./Track";
|
||||
import { PlayerOptions, PlayerProgressbarOptions, PlayOptions, QueueFilters, QueueRepeatMode, TrackSource } from "../types/types";
|
||||
import { AudioResource, StreamType } from "@discordjs/voice";
|
||||
import play from "play-dl";
|
||||
import play from "play-dl2";
|
||||
import { Util } from "../utils/Util";
|
||||
import AudioFilters from "../utils/AudioFilters";
|
||||
import { PlayerError, ErrorStatusCode } from "./PlayerError";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { QueryType } from "../types/types";
|
||||
import play from "play-dl";
|
||||
import play from "play-dl2";
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
|
||||
// scary things below *sigh*
|
||||
|
|
|
@ -1144,6 +1144,13 @@
|
|||
dependencies:
|
||||
"play-audio" "^0.5.2"
|
||||
|
||||
"play-dl2@^1.9.6":
|
||||
"integrity" "sha512-CLx1K5+rIeGFO15OyDD05Uncc7EipLrO2JhbW4+IvopEQUb1z+Cg9ojSp7aVzQUhq/ZHlEnB6G1a+G0gBxT3HQ=="
|
||||
"resolved" "https://registry.npmjs.org/play-dl2/-/play-dl2-1.9.6.tgz"
|
||||
"version" "1.9.6"
|
||||
dependencies:
|
||||
"play-audio" "^0.5.2"
|
||||
|
||||
"prelude-ls@^1.2.1":
|
||||
"integrity" "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g=="
|
||||
"resolved" "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz"
|
||||
|
|
Loading…
Reference in a new issue