1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-19 16:33: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,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;