mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
add lots of group dm features (#1208)
* group dm stuff * minor doc changes
This commit is contained in:
@@ -103,6 +103,7 @@ const Endpoints = exports.Endpoints = {
|
||||
},
|
||||
me: `${API}/users/@me`,
|
||||
meGuild: (guildID) => `${Endpoints.me}/guilds/${guildID}`,
|
||||
meChannels: `${API}/users/@me/channels`,
|
||||
meMentions: (limit, roles, everyone, guildID) =>
|
||||
`users/@me/mentions?limit=${limit}&roles=${roles}&everyone=${everyone}${guildID ? `&guild_id=${guildID}` : ''}`,
|
||||
relationships: (userID) => `${Endpoints.user(userID)}/relationships`,
|
||||
@@ -143,6 +144,8 @@ const Endpoints = exports.Endpoints = {
|
||||
channelWebhooks: (channelID) => `${Endpoints.channel(channelID)}/webhooks`,
|
||||
channelSearch: (channelID) => `${Endpoints.channelMessages(channelID)}/search`,
|
||||
|
||||
dmChannelRecipient: (channelID, recipientID) => `${Endpoints.channel(channelID)}/recipients/${recipientID}`,
|
||||
|
||||
// message reactions
|
||||
messageReactions: (channelID, messageID) => `${Endpoints.channelMessage(channelID, messageID)}/reactions`,
|
||||
messageReaction:
|
||||
|
||||
Reference in New Issue
Block a user