Add a few more aliases for cthulhu advancement rolls.

This commit is contained in:
projectmoon 2021-05-13 22:12:47 +00:00
parent 38fbef4101
commit 490d17790a
1 changed files with 3 additions and 1 deletions

View File

@ -133,7 +133,9 @@ pub fn parse_command(input: &str) -> Result<Box<dyn Command>, BotError> {
"r" | "roll" => parse_roll(&cmd_input),
"rp" | "pool" => parse_pool_roll(&cmd_input),
"cthroll" | "cthRoll" => parse_cth_roll(&cmd_input),
"cthadv" | "cthARoll" => parse_cth_advancement_roll(&cmd_input),
"cthadv" | "ctharoll" | "cthAroll" | "cthARoll" => {
parse_cth_advancement_roll(&cmd_input)
}
"chance" => chance_die(),
"help" => help(&cmd_input),
_ => Err(CommandParsingError::UnrecognizedCommand(cmd).into()),