From 63acfdd74e8a63c4649b366a9ef0fb608a27623a Mon Sep 17 00:00:00 2001 From: 13xforever Date: Mon, 29 Dec 2025 15:04:48 +0500 Subject: [PATCH] fix modal ids for explain commands --- CompatBot/Commands/Explain.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CompatBot/Commands/Explain.cs b/CompatBot/Commands/Explain.cs index 68814258..fec77c4c 100644 --- a/CompatBot/Commands/Explain.cs +++ b/CompatBot/Commands/Explain.cs @@ -113,7 +113,7 @@ internal static class Explain if (attachment is not null) label += " (can be empty)"; var modal = new DiscordModalBuilder() - .WithCustomId($"modal:warn:{Guid.NewGuid():n}") + .WithCustomId($"modal:explain:{Guid.NewGuid():n}") .WithTitle("New explanation text") .AddTextInput(new("explanation", style: DiscordTextInputStyle.Paragraph), label); await ctx.RespondWithModalAsync(modal).ConfigureAwait(false); @@ -242,7 +242,7 @@ internal static class Explain if (item.AttachmentFilename is {Length: >0}) label += " (can be empty)"; var modal = new DiscordModalBuilder() - .WithCustomId($"modal:warn:{Guid.NewGuid():n}") + .WithCustomId($"modal:explain:{Guid.NewGuid():n}") .WithTitle("Updated explanation text") .AddTextInput(new("explanation", value: item.Text, style: DiscordTextInputStyle.Paragraph), label); await ctx.RespondWithModalAsync(modal).ConfigureAwait(false);