diff --git a/src/index.ts b/src/index.ts index 704ea54..4dd3a82 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,5 @@ export { AudioFilters } from './utils/AudioFilters'; export * as Constants from './utils/Constants'; -export { Env as env } from './utils/env'; export { ExtractorModel } from './Structures/ExtractorModel'; export { Player } from './Player'; export { Util } from './utils/Util'; diff --git a/src/utils/env.ts b/src/utils/env.ts deleted file mode 100644 index a328ce7..0000000 --- a/src/utils/env.ts +++ /dev/null @@ -1,41 +0,0 @@ -// @ts-ignore -import { Store, Client } from 'soundcloud-scraper'; -import { YouTube } from 'youtube-sr'; - -export class Env { - - /** - * Utility env - * This feature is Experimental - */ - constructor() { - throw new Error(`Cannot instantiate the class ${this.constructor.name}`); - } - - /** - * The soundcloud client - * soundcloud.search("faded").then(console.log); - * @type {Object} - */ - static get SoundcloudClient() { - return { Client }; - } - - /** - * The soundcloud store utils - * @type {Object} - */ - static get SoundcloudStore() { - const store = Store as Map; - const setAPIkey = (newKey: string) => store.set('SOUNDCLOUD_API_KEY', newKey); - return { setAPIkey, store }; - } - - /** - * The youtube search - * @type {YouTube} - */ - static get youtube() { - return YouTube; - } -}