constant endpoints to discord api

This commit is contained in:
Skillz
2020-02-07 15:59:41 -05:00
parent 0638b20833
commit 169d652e43
+9
View File
@@ -0,0 +1,9 @@
export const baseEndpoints = {
/** Although, the version can be defaulted, keep the v6 as it can be changed to test newer versions when necessary. */
BASE_URL: "https://discordapp.com/api/v6",
CDN_URL: "https://cdn.discordapp.com",
}
export const endpoints = {
GATEWAY_BOT: `${baseEndpoints.BASE_URL}/gateway/bot`,
}