added more graceful handling of oversized inputs
This commit is contained in:
parent
e0cf21d3db
commit
0eec30fe82
3 changed files with 238 additions and 180 deletions
4
src/limits.rs
Normal file
4
src/limits.rs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
pub const MAX_DICE_COUNT_PER_ROLL: usize = 20_000;
|
||||
pub const RESULT_CULL_CHARACTER_THRESHOLD: usize = 3000;
|
||||
pub const MAX_DISPLAYED_DICE_PER_MESSAGE: usize = 100;
|
||||
pub const MAX_ROLL_REPEATS: usize = 35;
|
||||
Loading…
Add table
Add a link
Reference in a new issue