mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 17:21:31 +00:00
Fix Constants changes (#293)
This commit is contained in:
parent
619139f871
commit
9322c0bbd7
2 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ var Endpoints = {
|
||||||
LOGIN: API + "/auth/login",
|
LOGIN: API + "/auth/login",
|
||||||
LOGOUT: API + "/auth/logout",
|
LOGOUT: API + "/auth/logout",
|
||||||
ME: API + "/users/@me",
|
ME: API + "/users/@me",
|
||||||
ME: API + "/users/@me/channels",
|
ME_CHANNELS: API + "/users/@me/channels",
|
||||||
ME_SERVER: function ME_SERVER(serverID) {
|
ME_SERVER: function ME_SERVER(serverID) {
|
||||||
return Endpoints.ME + "/guilds/" + serverID;
|
return Endpoints.ME + "/guilds/" + serverID;
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ export const Endpoints = {
|
||||||
LOGIN: `${API}/auth/login`,
|
LOGIN: `${API}/auth/login`,
|
||||||
LOGOUT: `${API}/auth/logout`,
|
LOGOUT: `${API}/auth/logout`,
|
||||||
ME: `${API}/users/@me`,
|
ME: `${API}/users/@me`,
|
||||||
ME: `${API}/users/@me/channels`,
|
ME_CHANNELS: `${API}/users/@me/channels`,
|
||||||
ME_SERVER: (serverID) => `${Endpoints.ME}/guilds/${serverID}`,
|
ME_SERVER: (serverID) => `${Endpoints.ME}/guilds/${serverID}`,
|
||||||
GATEWAY: `${API}/gateway`,
|
GATEWAY: `${API}/gateway`,
|
||||||
AVATAR : (userID, avatar) => `${API}/users/${userID}/avatars/${avatar}.jpg`,
|
AVATAR : (userID, avatar) => `${API}/users/${userID}/avatars/${avatar}.jpg`,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue