This commit is contained in:
Дмитрий Шиманский
2023-11-09 00:24:18 +03:00
parent 0b218a4c6d
commit dde8b38520
16 changed files with 243 additions and 40 deletions

13
Utilities/IdChecker.cs Normal file
View File

@@ -0,0 +1,13 @@
namespace DiscordApp.Utilities
{
public class IdChecker
{
public static void IdLenghtIsLower(out int id)
{
Random random = new();
id = random.Next(00001, 99999);
while (id.ToString().Length < 5) { id = random.Next(00001, 99999); }
return;
}
}
}