From a70297e0f8f2a98f0d8395e8111088194d8c8ec5 Mon Sep 17 00:00:00 2001 From: Macintosh II Date: Wed, 4 Oct 2023 15:19:55 +0300 Subject: [PATCH] Use long instead of int Signed-off-by: Macintosh II --- src/Commands/ToolsCommandGroup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/ToolsCommandGroup.cs b/src/Commands/ToolsCommandGroup.cs index 4d6aa7c..445140d 100644 --- a/src/Commands/ToolsCommandGroup.cs +++ b/src/Commands/ToolsCommandGroup.cs @@ -266,7 +266,7 @@ public class ToolsCommandGroup : CommandGroup private async Task SendRandomNumberAsync(long first, long? secondNullable, IUser user, CancellationToken ct) { - const int secondDefault = 0; + const long secondDefault = 0; var second = secondNullable ?? secondDefault; var min = Math.Min(first, second);