From 21a5cd3eab417c7a3ecf756bbb5483f92edfd61b Mon Sep 17 00:00:00 2001 From: Vermium Sifell Date: Mon, 29 May 2023 16:04:38 +0200 Subject: [PATCH] fix: :children_crossing: change to ephermal cooldown messages Changed to using ephemeral messages for cooldowns, so users are not spamming others by cooldown messages --- .../handleCommandInteraction/handlers/handleCooldown.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/events/interactionCreate/interactionTypes/handleCommandInteraction/handlers/handleCooldown.ts b/src/events/interactionCreate/interactionTypes/handleCommandInteraction/handlers/handleCooldown.ts index 268f891..6ec00e4 100644 --- a/src/events/interactionCreate/interactionTypes/handleCommandInteraction/handlers/handleCooldown.ts +++ b/src/events/interactionCreate/interactionTypes/handleCommandInteraction/handlers/handleCooldown.ts @@ -32,6 +32,7 @@ export default async function handleCooldown( const response = { embeds: [cooldownEmbed], components: [buttons], + ephemeral: true, }; await sendResponse(interaction, response);