mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
feat: backport after and before parameter when fetching a reaction's users (#2218)
Commits: -f40a5e9f88-5cd42695ae
This commit is contained in:
@@ -187,8 +187,8 @@ const Endpoints = exports.Endpoints = {
|
||||
toString: () => mbase,
|
||||
reactions: `${mbase}/reactions`,
|
||||
ack: `${mbase}/ack`,
|
||||
Reaction: (emoji, limit) => {
|
||||
const rbase = `${mbase}/reactions/${emoji}${limit ? `?limit=${limit}` : ''}`;
|
||||
Reaction: emoji => {
|
||||
const rbase = `${mbase}/reactions/${emoji}`;
|
||||
return {
|
||||
toString: () => rbase,
|
||||
User: userID => `${rbase}/${userID}`,
|
||||
|
||||
Reference in New Issue
Block a user