mirror of
https://github.com/discordjs/discord.js.git
synced 2026-06-15 19:08:20 +00:00
feat: backport after and before parameter when fetching a reaction's users (#2218)
Commits: - https://github.com/hydrabolt/discord.js/commit/f40a5e9f8875299aa6ec25a0491e4dc92868f54d - https://github.com/hydrabolt/discord.js/commit/5cd42695aeb974e998d4b220cba1c27b30a55628
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