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