1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-20 00:43:36 +03:00

Resolve conversation

Signed-off-by: Macintosh II <mctaylxrs@outlook.com>
This commit is contained in:
Macintxsh 2023-10-03 15:07:05 +03:00
parent d2ac6a17a2
commit 12fd4972ae
Signed by: mctaylors
GPG key ID: 361D326747B61E65

View file

@ -277,17 +277,23 @@ public class ToolsCommandGroup : CommandGroup
description.AppendLine().Append("- ").Append(string.Format( description.AppendLine().Append("- ").Append(string.Format(
Messages.RandomMin, Markdown.InlineCode(min.ToString()))); Messages.RandomMin, Markdown.InlineCode(min.ToString())));
if (secondNullable is null && first >= 0) if (secondNullable is null)
{
if (first >= 0)
{ {
description.Append(' ').Append(Messages.Default); description.Append(' ').Append(Messages.Default);
} }
}
description.AppendLine().Append("- ").Append(string.Format( description.AppendLine().Append("- ").Append(string.Format(
Messages.RandomMax, Markdown.InlineCode(max.ToString()))); Messages.RandomMax, Markdown.InlineCode(max.ToString())));
if (secondNullable is null && first < 0) if (secondNullable is null)
{
if (first < 0)
{ {
description.Append(' ').Append(Messages.Default); description.Append(' ').Append(Messages.Default);
} }
}
var embedColor = ColorsList.Blue; var embedColor = ColorsList.Blue;
if (secondNullable is not null && min == max) if (secondNullable is not null && min == max)