From 16fb940f83f2fe3d706faefcf7f005d6c241384a Mon Sep 17 00:00:00 2001 From: Bloodcloak <59000966+bloodcloak@users.noreply.github.com> Date: Fri, 7 Jun 2024 23:04:49 -0400 Subject: [PATCH] replace random colors --- events/modalInteraction.js | 2 +- interactions/buttons/operation/cancel.js | 2 +- interactions/buttons/operation/closeRequest.js | 2 +- interactions/slash/operation/close.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/events/modalInteraction.js b/events/modalInteraction.js index 9b55965..e5ac9b8 100644 --- a/events/modalInteraction.js +++ b/events/modalInteraction.js @@ -74,7 +74,7 @@ module.exports = { value: question.response, })) ) - .setColor("Random") + .setColor("#B57EDC") .setAuthor({ name: interaction.user.tag, iconURL: interaction.user.displayAvatarURL() }) .setTimestamp(); diff --git a/interactions/buttons/operation/cancel.js b/interactions/buttons/operation/cancel.js index 7929f8c..56c3c44 100644 --- a/interactions/buttons/operation/cancel.js +++ b/interactions/buttons/operation/cancel.js @@ -6,7 +6,7 @@ module.exports = { async execute(interaction) { const embed = new EmbedBuilder() .setDescription(`Close request cancelled by ${interaction.user}.`) - .setColor("Random") + .setColor("#B57EDC") await db("tickets") .update({ close_requested_at: null }) diff --git a/interactions/buttons/operation/closeRequest.js b/interactions/buttons/operation/closeRequest.js index 462ebec..0151bf9 100644 --- a/interactions/buttons/operation/closeRequest.js +++ b/interactions/buttons/operation/closeRequest.js @@ -12,7 +12,7 @@ module.exports = { let embed = new EmbedBuilder() .setDescription(`${interaction.user} wants to close the ticket.`) - .setColor("Random") + .setColor("#F1C40F") const ticket = await db("tickets") .select("*") diff --git a/interactions/slash/operation/close.js b/interactions/slash/operation/close.js index e5a9a6a..e5f07f0 100644 --- a/interactions/slash/operation/close.js +++ b/interactions/slash/operation/close.js @@ -14,7 +14,7 @@ module.exports = { let embed = new EmbedBuilder() .setDescription(`${interaction.user} wants to close the ticket.`) - .setColor("Random") + .setColor("#F1C40F") const ticket = await db("tickets") .select("*")