From f44dd03f1a98979101b04ef881d4e032311aa6d7 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Wed, 11 Dec 2024 23:06:01 +0000 Subject: [PATCH] fix: .sclr will now correctly show the color without alpha prefixed --- src/NadekoBot/Modules/Utility/GuildColorsCommands.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NadekoBot/Modules/Utility/GuildColorsCommands.cs b/src/NadekoBot/Modules/Utility/GuildColorsCommands.cs index ace34789d..fe4e56a51 100644 --- a/src/NadekoBot/Modules/Utility/GuildColorsCommands.cs +++ b/src/NadekoBot/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()