diff --git a/src/constants/discord.ts b/src/constants/discord.ts index 0c62f6030..3d2b1f881 100644 --- a/src/constants/discord.ts +++ b/src/constants/discord.ts @@ -1,15 +1,8 @@ -let API_VERSION = "v8"; - export const baseEndpoints = { - /** Although, the version can be defaulted, keep the v8 as it can be changed to test newer versions when necessary. */ - BASE_URL: `https://discord.com/api/${API_VERSION}`, + BASE_URL: `https://discord.com/api/V8`, CDN_URL: "https://cdn.discordapp.com", }; -export function changeAPIVersion(number = 7) { - API_VERSION = `v${number}`; -} - const GUILDS_BASE = (id: string) => `${baseEndpoints.BASE_URL}/guilds/${id}`; export const endpoints = {