parent
0eaf6d5319
commit
acb2c568c4
|
@ -302,7 +302,7 @@ fn ship(ctx: &mut Context, message: &Message, args: Args) -> CommandResult {
|
||||||
// Get input names
|
// Get input names
|
||||||
let names: String = args.rest().trim().to_string();
|
let names: String = args.rest().trim().to_string();
|
||||||
// Calculate compatibility based on hash
|
// Calculate compatibility based on hash
|
||||||
let compat: u64 = StdRng::seed_from_u64(calculate_hash(&names)).gen_range(0, 100);
|
let compat: u64 = StdRng::seed_from_u64(calculate_hash(&names)).gen_range(50, 100);
|
||||||
|
|
||||||
// Initialize a bar to display compatibility percentage
|
// Initialize a bar to display compatibility percentage
|
||||||
let mut compbar = String::new();
|
let mut compbar = String::new();
|
||||||
|
|
Loading…
Reference in New Issue