remove users from message reactions

This commit is contained in:
Amish Shah
2016-10-27 17:16:40 +01:00
parent dd9c291508
commit 9cba1bc6d0
3 changed files with 18 additions and 6 deletions

View File

@@ -123,6 +123,8 @@ const Endpoints = exports.Endpoints = {
`${limit ? `?limit=${limit}` : ''}`,
selfMessageReaction: (channel, msg, emoji, limit) =>
`${Endpoints.messageReaction(channel, msg, emoji, limit)}/@me`,
userMessageReaction: (channel, msg, emoji, limit, id) =>
`${Endpoints.messageReaction(channel, msg, emoji, limit)}/${id}`,
// webhooks
webhook: (webhookID, token) => `${API}/webhooks/${webhookID}${token ? `/${token}` : ''}`,