This commit is contained in:
@@ -5,6 +5,7 @@ use serenity::model::application::{CommandOptionType, ResolvedOption, ResolvedVa
|
||||
|
||||
pub fn run_core(input: Option<&str>) -> String {
|
||||
let mut rng = RandomGen::new();
|
||||
|
||||
match input {
|
||||
None => rng.range_random_from_one(999).to_string(),
|
||||
Some(s) => match validate::parse_str_into_num::<i32>(s.trim()) {
|
||||
|
||||
Reference in New Issue
Block a user