mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
fix: getReations by removing the double URI encode (#2438)
This commit is contained in:
@@ -20,7 +20,7 @@ export async function getReactions(
|
|||||||
const results = await bot.rest.runMethod<DiscordUser[]>(
|
const results = await bot.rest.runMethod<DiscordUser[]>(
|
||||||
bot.rest,
|
bot.rest,
|
||||||
"GET",
|
"GET",
|
||||||
bot.constants.routes.CHANNEL_MESSAGE_REACTION(channelId, messageId, encodeURIComponent(reaction), options),
|
bot.constants.routes.CHANNEL_MESSAGE_REACTION(channelId, messageId, reaction, options),
|
||||||
);
|
);
|
||||||
|
|
||||||
return new Collection(
|
return new Collection(
|
||||||
|
|||||||
Reference in New Issue
Block a user