forked from projectmoon/tenebrous-dicebot
Add a few more aliases for cthulhu advancement rolls.
This commit is contained in:
parent
38fbef4101
commit
490d17790a
|
@ -133,7 +133,9 @@ pub fn parse_command(input: &str) -> Result<Box<dyn Command>, BotError> {
|
||||||
"r" | "roll" => parse_roll(&cmd_input),
|
"r" | "roll" => parse_roll(&cmd_input),
|
||||||
"rp" | "pool" => parse_pool_roll(&cmd_input),
|
"rp" | "pool" => parse_pool_roll(&cmd_input),
|
||||||
"cthroll" | "cthRoll" => parse_cth_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(),
|
"chance" => chance_die(),
|
||||||
"help" => help(&cmd_input),
|
"help" => help(&cmd_input),
|
||||||
_ => Err(CommandParsingError::UnrecognizedCommand(cmd).into()),
|
_ => Err(CommandParsingError::UnrecognizedCommand(cmd).into()),
|
||||||
|
|
Loading…
Reference in New Issue