From 0dc0f8c52b4ce920353cc14b2594d2bd1516ba2e Mon Sep 17 00:00:00 2001 From: Ean Milligan Date: Thu, 8 Sep 2022 22:28:57 -0400 Subject: [PATCH] Fixes getReactions again. (#2445) * Update getReactions.ts fix it again -_- * Bump version --- helpers/messages/reactions/getReactions.ts | 2 +- util/constants.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helpers/messages/reactions/getReactions.ts b/helpers/messages/reactions/getReactions.ts index 68ec81b9e..842bffc29 100644 --- a/helpers/messages/reactions/getReactions.ts +++ b/helpers/messages/reactions/getReactions.ts @@ -28,7 +28,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( diff --git a/util/constants.ts b/util/constants.ts index 2434c183a..0f73882c6 100644 --- a/util/constants.ts +++ b/util/constants.ts @@ -6,7 +6,7 @@ export const API_VERSION = 10; // TODO: update this version /** https://github.com/discordeno/discordeno/releases */ -export const DISCORDENO_VERSION = "14.0.0"; +export const DISCORDENO_VERSION = "14.0.1"; /** https://discord.com/developers/docs/reference#user-agent */ export const USER_AGENT = `DiscordBot (https://github.com/discordeno/discordeno, v${DISCORDENO_VERSION})`;