mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 16:57:22 +00:00
constant endpoints to discord api
This commit is contained in:
@@ -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`,
|
||||
}
|
||||
Reference in New Issue
Block a user