Force to be at the start of the line

This commit is contained in:
2024-03-30 09:06:34 -07:00
parent 5c8463c25b
commit 6d73d7af0c

View File

@@ -1,7 +1,7 @@
use irc::proto::Message; use irc::proto::Message;
use std::collections::VecDeque; use std::collections::VecDeque;
pub const PATTERN: &str = "\\$help(?: (.*))?"; pub const PATTERN: &str = "^\\$help(?: (.*))?";
pub const NAME: &str = "help"; pub const NAME: &str = "help";
pub const USAGE: &str = "You just used it"; pub const USAGE: &str = "You just used it";