help command now no longer relies on help_strings const

timeparser updated to work with partially specified times
This commit is contained in:
2021-02-23 13:45:25 +00:00
parent 3075e34fe1
commit 7b6464d5a4
14 changed files with 92 additions and 100 deletions

View File

@@ -176,7 +176,7 @@ impl SendIterator for ChannelId {
}
pub struct RegexFramework {
commands: HashMap<String, &'static Command>,
pub commands: HashMap<String, &'static Command>,
command_matcher: Regex,
dm_regex_matcher: Regex,
default_prefix: String,