mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-19 16:33:36 +03:00
Update src/Commands/ToolsCommandGroup.cs
Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com> Signed-off-by: Macintosh II <95250141+mctaylors@users.noreply.github.com>
This commit is contained in:
parent
87f334054b
commit
f8b0bd7e1b
1 changed files with 1 additions and 1 deletions
|
@ -265,8 +265,8 @@ public class ToolsCommandGroup : CommandGroup
|
|||
|
||||
private async Task<Result> SendRandomNumberAsync(int first, int second, IUser user, CancellationToken ct)
|
||||
{
|
||||
var max = Math.Max(first, second);
|
||||
var min = Math.Min(first, second);
|
||||
var max = Math.Max(first, second);
|
||||
|
||||
var i = Random.Shared.Next(min, max + 1);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue