mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-20 00:43:36 +03:00
i hate this i hate this i hate this i hate this
This commit is contained in:
parent
dcaa034693
commit
d6b6e3ef44
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ public class ToolsCommandGroup : CommandGroup
|
||||||
1 => ColorsList.Green,
|
1 => ColorsList.Green,
|
||||||
2 => ColorsList.Yellow,
|
2 => ColorsList.Yellow,
|
||||||
3 => ColorsList.Red,
|
3 => ColorsList.Red,
|
||||||
_ => throw new ArgumentOutOfRangeException(nameof(typeNumber))
|
_ => throw new ArgumentOutOfRangeException(null, nameof(typeNumber))
|
||||||
};
|
};
|
||||||
|
|
||||||
var answer = $"EightBall{AnswerTypes[typeNumber]}{Random.Shared.Next(1, 6)}".Localized();
|
var answer = $"EightBall{AnswerTypes[typeNumber]}{Random.Shared.Next(1, 6)}".Localized();
|
||||||
|
|
Loading…
Add table
Reference in a new issue