From 490d17790aacb6952fa04693896509e217706e31 Mon Sep 17 00:00:00 2001 From: projectmoon Date: Thu, 13 May 2021 22:12:47 +0000 Subject: [PATCH] Add a few more aliases for cthulhu advancement rolls. --- src/commands/parser.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/commands/parser.rs b/src/commands/parser.rs index b319c38..91b9711 100644 --- a/src/commands/parser.rs +++ b/src/commands/parser.rs @@ -133,7 +133,9 @@ pub fn parse_command(input: &str) -> Result, 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()),