Fix range for die rolling

This commit is contained in:
Jeff 2024-06-19 20:31:10 -04:00
parent 81ed707dc1
commit f7ce6f5981

View File

@ -298,7 +298,7 @@ impl Bot {
info!("Rolling a die 1-{max}");
let random = thread_rng().gen_range(1..max);
let random = thread_rng().gen_range(1..=max);
match message.chat_type {
ChatType::Tell(_, _) => self.client.send_command(