diff --git a/Cogs/Configuration/Components/EmbedBuilder.py b/Cogs/Configuration/Components/EmbedBuilder.py index d96351b..5861e38 100644 --- a/Cogs/Configuration/Components/EmbedBuilder.py +++ b/Cogs/Configuration/Components/EmbedBuilder.py @@ -1234,6 +1234,13 @@ def __init__(self, colour): async def on_submit(self, interaction: discord.Interaction): color_value = self.color.value + if len(color_value) != 6: + await interaction.response.send_message( + f" {no} Please provide a valid hex color. (A hex is 6 characters long without the hashtag.)", + ephemeral=True, + ) + return + try: color = discord.Color(int(color_value, 16)) except ValueError: