From 12fd4972aedde01c388b96c7924a66ccc4386004 Mon Sep 17 00:00:00 2001 From: Macintosh II Date: Tue, 3 Oct 2023 15:07:05 +0300 Subject: [PATCH] Resolve conversation Signed-off-by: Macintosh II --- src/Commands/ToolsCommandGroup.cs | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/Commands/ToolsCommandGroup.cs b/src/Commands/ToolsCommandGroup.cs index dca2094..75977bd 100644 --- a/src/Commands/ToolsCommandGroup.cs +++ b/src/Commands/ToolsCommandGroup.cs @@ -277,16 +277,22 @@ public class ToolsCommandGroup : CommandGroup description.AppendLine().Append("- ").Append(string.Format( Messages.RandomMin, Markdown.InlineCode(min.ToString()))); - if (secondNullable is null && first >= 0) + if (secondNullable is null) { - description.Append(' ').Append(Messages.Default); + if (first >= 0) + { + description.Append(' ').Append(Messages.Default); + } } description.AppendLine().Append("- ").Append(string.Format( Messages.RandomMax, Markdown.InlineCode(max.ToString()))); - if (secondNullable is null && first < 0) + if (secondNullable is null) { - description.Append(' ').Append(Messages.Default); + if (first < 0) + { + description.Append(' ').Append(Messages.Default); + } } var embedColor = ColorsList.Blue;