mirror of
https://github.com/yawaflua/PL_JusticeBot.git
synced 2025-12-10 04:19:31 +02:00
hotfix and add button to edit user passport id
This commit is contained in:
@@ -7,8 +7,8 @@ namespace DiscordApp.Utilities
|
||||
public static void IdGenerator(out int id)
|
||||
{
|
||||
Random random = new();
|
||||
id = random.Next(00001, 99999);
|
||||
while (id.ToString().Length < 5) { id = random.Next(00001, 99999); }
|
||||
id = random.Next(10000, 99999);
|
||||
while (id.ToString().Length < 5) { id = random.Next(10000, 99999); }
|
||||
return;
|
||||
}
|
||||
public static bool IsPassport(int id, out Passport passport)
|
||||
|
||||
Reference in New Issue
Block a user