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

Revert "Resolve conversation"

This reverts commit 12fd4972ae.
This commit is contained in:
Octol1ttle 2023-10-03 17:25:00 +05:00
parent 325138239d
commit 6756d9bee0
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF

View file

@ -277,22 +277,16 @@ 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) if (secondNullable is null && first >= 0)
{ {
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) if (secondNullable is null && first < 0)
{ {
if (first < 0) description.Append(' ').Append(Messages.Default);
{
description.Append(' ').Append(Messages.Default);
}
} }
var embedColor = ColorsList.Blue; var embedColor = ColorsList.Blue;