From e05792639c8ebbade1ab7097271af72fb8bfce79 Mon Sep 17 00:00:00 2001 From: Toastie Date: Thu, 12 Dec 2024 19:43:33 +1300 Subject: [PATCH] .sclr will now correctly show the color without alpha prefixed --- src/EllieBot/Modules/Utility/GuildColorsCommands.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/EllieBot/Modules/Utility/GuildColorsCommands.cs b/src/EllieBot/Modules/Utility/GuildColorsCommands.cs index ec2a991..8493e60 100644 --- a/src/EllieBot/Modules/Utility/GuildColorsCommands.cs +++ b/src/EllieBot/Modules/Utility/GuildColorsCommands.cs @@ -13,9 +13,9 @@ public partial class Utility public async Task ServerColorsShow() { var colors = _service.GetColors(ctx.Guild.Id); - var okHex = colors?.Ok?.RawValue.ToString("X8"); - var warnHex = colors?.Warn?.RawValue.ToString("X8"); - var errHex = colors?.Error?.RawValue.ToString("X8"); + var okHex = colors?.Ok?.RawValue.ToString("x6"); + var warnHex = colors?.Warn?.RawValue.ToString("x6"); + var errHex = colors?.Error?.RawValue.ToString("x6"); EmbedBuilder[] ebs = [ CreateEmbed()