fix(bot): get rid of syntax error in SystemEdit

This commit is contained in:
dusk 2025-08-13 02:41:41 +03:00
parent f721b850d4
commit 915d8b449b
No known key found for this signature in database

View file

@ -235,7 +235,8 @@ public class SystemEdit
.Color(newColor.ToDiscordColor()) .Color(newColor.ToDiscordColor())
.Thumbnail(new Embed.EmbedThumbnail($"attachment://color.gif")) .Thumbnail(new Embed.EmbedThumbnail($"attachment://color.gif"))
.Build(), .Build(),
files: [MiscUtils.GenerateColorPreview(color)]);); files: [MiscUtils.GenerateColorPreview(newColor)]
);
} }
public async Task ClearColor(Context ctx, PKSystem target, bool flagConfirmYes) public async Task ClearColor(Context ctx, PKSystem target, bool flagConfirmYes)