changed 1+ to 0+ whitespace after mention for natural to flow nicer

This commit is contained in:
jellywx 2020-12-07 12:36:33 +00:00
parent 167a5a404f
commit 20a3c134c0

View File

@ -239,7 +239,7 @@ impl RegexFramework {
info!("Command names: {}", command_names);
{
let match_string = r#"^(?:(?:<@ID>\s+)|(?:<@!ID>\s+)|(?P<prefix>\S{1,5}?))(?P<cmd>COMMANDS)(?:$|\s+(?P<args>.*))$"#
let match_string = r#"^(?:(?:<@ID>\s*)|(?:<@!ID>\s*)|(?P<prefix>\S{1,5}?))(?P<cmd>COMMANDS)(?:$|\s+(?P<args>.*))$"#
.replace("COMMANDS", command_names.as_str())
.replace("ID", self.client_id.to_string().as_str());