From a5d960b5f130fa7a8071177a27403be3241f70e1 Mon Sep 17 00:00:00 2001 From: Ean Milligan Date: Thu, 8 Sep 2022 12:13:53 -0400 Subject: [PATCH] fix: getReations by removing the double URI encode (#2438) --- helpers/messages/getReactions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/messages/getReactions.ts b/helpers/messages/getReactions.ts index 2696b7bad..05842f7ce 100644 --- a/helpers/messages/getReactions.ts +++ b/helpers/messages/getReactions.ts @@ -20,7 +20,7 @@ export async function getReactions( const results = await bot.rest.runMethod( bot.rest, "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(