mirror of
https://github.com/danbulant/discord.js
synced 2026-05-26 21:42:05 +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",
|
||||
LOGOUT: API + "/auth/logout",
|
||||
ME: API + "/users/@me",
|
||||
ME: API + "/users/@me/channels",
|
||||
ME_CHANNELS: API + "/users/@me/channels",
|
||||
ME_SERVER: function ME_SERVER(serverID) {
|
||||
return Endpoints.ME + "/guilds/" + serverID;
|
||||
},
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ export const Endpoints = {
|
|||
LOGIN: `${API}/auth/login`,
|
||||
LOGOUT: `${API}/auth/logout`,
|
||||
ME: `${API}/users/@me`,
|
||||
ME: `${API}/users/@me/channels`,
|
||||
ME_CHANNELS: `${API}/users/@me/channels`,
|
||||
ME_SERVER: (serverID) => `${Endpoints.ME}/guilds/${serverID}`,
|
||||
GATEWAY: `${API}/gateway`,
|
||||
AVATAR : (userID, avatar) => `${API}/users/${userID}/avatars/${avatar}.jpg`,
|
||||
|
|
|
|||
Loading…
Reference in a new issue