added help module
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
use irc::proto::Message;
|
||||
use std::collections::VecDeque;
|
||||
|
||||
pub const PATTERN: &str = "\\$grass (?P<nick>[^\\s]+)";
|
||||
pub const PATTERN: &str = "^\\$grass (?P<nick>[^\\s]+)";
|
||||
pub const NAME: &str = "grass";
|
||||
pub const USAGE: &str = "Usage: $grass <nick>\r\nThis tells the user identified by nick to touch grass";
|
||||
|
||||
pub fn touch_grass(captures: regex::Captures, message: &Message, _: &VecDeque<Message>) -> String {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user