diff --git a/src/helpers/messages/suppress_embeds.ts b/src/helpers/messages/suppress_embeds.ts index d9f3e9713..e28ba0eb6 100644 --- a/src/helpers/messages/suppress_embeds.ts +++ b/src/helpers/messages/suppress_embeds.ts @@ -10,7 +10,7 @@ export async function suppressEmbeds(bot: Bot, channelId: bigint, messageId: big await bot.utils.requireBotChannelPermissions(bot, channelId, message ? ["MANAGE_MESSAGES"] : ["SEND_MESSAGES"]); const result = await bot.rest.runMethod>( - bot.rest, + bot.rest, "patch", bot.constants.endpoints.CHANNEL_MESSAGE(channelId, messageId), { flags: 4 }