mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
Merge branch 'indev' of https://github.com/hydrabolt/discord.js into indev
This commit is contained in:
@@ -82,6 +82,7 @@ const Endpoints = exports.Endpoints = {
|
||||
// users
|
||||
user: (userID) => `${API}/users/${userID}`,
|
||||
userChannels: (userID) => `${Endpoints.user(userID)}/channels`,
|
||||
userProfile: (userID) => `${Endpoints.user(userID)}/profile`,
|
||||
avatar: (userID, avatar) => userID === '1' ? avatar : `${Endpoints.user(userID)}/avatars/${avatar}.jpg`,
|
||||
me: `${API}/users/@me`,
|
||||
meGuild: (guildID) => `${Endpoints.me}/guilds/${guildID}`,
|
||||
|
||||
Reference in New Issue
Block a user