diff --git a/helpers/guilds/getAvailableVoiceRegions.ts b/helpers/guilds/getAvailableVoiceRegions.ts index 52cb3a4fc..8b9a84be6 100644 --- a/helpers/guilds/getAvailableVoiceRegions.ts +++ b/helpers/guilds/getAvailableVoiceRegions.ts @@ -4,7 +4,11 @@ import { Collection } from "../../util/collection.ts"; /** Returns an array of voice regions that can be used when creating servers. */ export async function getAvailableVoiceRegions(bot: Bot) { - const result = await bot.rest.runMethod(bot.rest, "get", bot.constants.endpoints.VOICE_REGIONS()); + const result = await bot.rest.runMethod( + bot.rest, + "get", + bot.constants.endpoints.VOICE_REGIONS(), + ); return new Collection( result.map((region) => { diff --git a/rest/restManager.ts b/rest/restManager.ts index f8993606f..3a9b27860 100644 --- a/rest/restManager.ts +++ b/rest/restManager.ts @@ -15,14 +15,14 @@ import { API_VERSION } from "../util/constants.ts"; export function createRestManager(options: CreateRestManagerOptions) { const version = options.version || API_VERSION; - console.log('url1', baseEndpoints.BASE_URL) + console.log("url1", baseEndpoints.BASE_URL); if (options.customUrl) { - console.log('url2', baseEndpoints.BASE_URL) + console.log("url2", baseEndpoints.BASE_URL); baseEndpoints.BASE_URL = `${options.customUrl}/v${version}`; } - console.log('url3', baseEndpoints.BASE_URL) + console.log("url3", baseEndpoints.BASE_URL); return { // current invalid amount