mirror of
https://github.com/yawaflua/PL_JusticeBot.git
synced 2025-12-10 04:19:31 +02:00
updated
This commit is contained in:
13
Utilities/IdChecker.cs
Normal file
13
Utilities/IdChecker.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user