Skip to content

Commit df9f734

Browse files
committed
Reduce the chance of expected message length 67
1 parent 9a30287 commit df9f734

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/discord_bot/april_fools_channel/exact_message_length.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ impl AprilFoolsChannel for ExactMessageLength {
7272
}
7373

7474
fn reroll_message_length(just_had_67: bool) -> u16 {
75-
if !just_had_67 && rand::random::<bool>() {
75+
if !just_had_67 && rand::random_range(0..4) == 0 {
7676
67
7777
} else {
7878
let length = rand::random_range(5..=99);

0 commit comments

Comments
 (0)