diff --git a/deps.ts b/deps.ts index 8a186e3..3e1dd63 100644 --- a/deps.ts +++ b/deps.ts @@ -1,7 +1,13 @@ -export { EventEmitter } from "https://deno.land/std@0.82.0/node/events.ts"; -export { unzlib } from "https://deno.land/x/denoflate@1.1/mod.ts"; -export { fetchAuto } from "https://raw.githubusercontent.com/DjDeveloperr/fetch-base64/main/mod.ts"; -export { parse } from "https://deno.land/x/mutil@0.1.2/mod.ts"; -export { connect } from "https://deno.land/x/redis@v0.14.1/mod.ts"; -export type { Redis, RedisConnectOptions } from "https://deno.land/x/redis@v0.14.1/mod.ts" -export { Manager, Player } from "https://raw.githubusercontent.com/Lavaclient/lavadeno/master/mod.ts"; \ No newline at end of file +export { EventEmitter } from 'https://deno.land/std@0.82.0/node/events.ts' +export { unzlib } from 'https://deno.land/x/denoflate@1.1/mod.ts' +export { fetchAuto } from 'https://raw.githubusercontent.com/DjDeveloperr/fetch-base64/main/mod.ts' +export { parse } from 'https://deno.land/x/mutil@0.1.2/mod.ts' +export { connect } from 'https://deno.land/x/redis@v0.14.1/mod.ts' +export type { + Redis, + RedisConnectOptions +} from 'https://deno.land/x/redis@v0.14.1/mod.ts' +export { + Manager, + Player +} from 'https://raw.githubusercontent.com/Lavaclient/lavadeno/master/mod.ts' diff --git a/src/gateway/index.ts b/src/gateway/index.ts index 081e1c8..495829d 100644 --- a/src/gateway/index.ts +++ b/src/gateway/index.ts @@ -1,4 +1,4 @@ -import { unzlib } from '../../deps.ts' +import { unzlib, EventEmitter } from '../../deps.ts' import { Client } from '../models/client.ts' import { DISCORD_GATEWAY_URL, @@ -18,7 +18,6 @@ import { GatewayCache } from '../managers/gatewayCache.ts' import { delay } from '../utils/delay.ts' import { VoiceChannel } from '../structures/guildVoiceChannel.ts' import { Guild } from '../structures/guild.ts' -import { EventEmitter } from '../../deps.ts' export interface RequestMembersOptions { limit?: number