UNPKG

disrexom

Version:

A Discord.js module to simplify your music commands and play songs with audio filters on Discord without any API key. Support YouTube, SoundCloud, Bandcamp, Facebook, and 700+ more sites

14 lines 791 B
import https from "https"; import ExtractorPlugin from "../struct/ExtractorPlugin"; import { Song } from ".."; import type http from "http"; import type { GuildMember } from "discord.js"; export declare const getResponseHeaders: (httpModule: typeof http | typeof https, url: string) => Promise<http.IncomingHttpHeaders>; export declare const validateAudioURL: (httpModule: typeof http | typeof https, protocol: string, url: string) => Promise<boolean>; export declare const resolveHttpSong: (source: string, url: string, member: GuildMember) => Promise<Song>; export declare class HTTPSPlugin extends ExtractorPlugin { validate(url: string): Promise<boolean>; resolve(url: string, member: GuildMember): Promise<Song>; } export default HTTPSPlugin; //# sourceMappingURL=https.d.ts.map