mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 10:33:30 +01:00
Prepare for upcoming leave/deleteServer separation (fix #198)
This commit is contained in:
@@ -8,6 +8,9 @@ var Endpoints = {
|
||||
LOGIN: API + "/auth/login",
|
||||
LOGOUT: API + "/auth/logout",
|
||||
ME: API + "/users/@me",
|
||||
ME_SERVER: function ME_SERVER(serverID) {
|
||||
return Endpoints.ME + "/guilds/" + serverID;
|
||||
},
|
||||
GATEWAY: API + "/gateway",
|
||||
USER_CHANNELS: function USER_CHANNELS(userID) {
|
||||
return API + "/users/" + userID + "/channels";
|
||||
|
||||
Reference in New Issue
Block a user